Class PropertyDictionary

  • All Implemented Interfaces:
    Caching

    public class PropertyDictionary
    extends java.lang.Object
    implements Caching
    Builds the properties maps for each bean and caches them.
    • Field Detail

      • propertyNameCache

        private transient java.util.Map propertyNameCache
    • Constructor Detail

      • PropertyDictionary

        public PropertyDictionary()
      • PropertyDictionary

        public PropertyDictionary​(PropertySorter sorter)
    • Method Detail

      • serializablePropertiesFor

        public java.util.Iterator serializablePropertiesFor​(java.lang.Class type)
        Deprecated.
        As of 1.3.1, use propertiesFor(Class) instead
      • propertiesFor

        public java.util.Iterator propertiesFor​(java.lang.Class type)
      • propertyDescriptor

        public java.beans.PropertyDescriptor propertyDescriptor​(java.lang.Class type,
                                                                java.lang.String name)
        Locates a property descriptor.
        Parameters:
        type -
        name -
        Throws:
        MissingFieldException - if property does not exist
      • propertyDescriptorOrNull

        public java.beans.PropertyDescriptor propertyDescriptorOrNull​(java.lang.Class type,
                                                                      java.lang.String name)
        Locates a property descriptor.
        Parameters:
        type -
        name -
        Returns:
        null if property does not exist
        Since:
        1.4.10
      • buildMap

        private java.util.Map buildMap​(java.lang.Class type)
      • flushCache

        public void flushCache()
        Specified by:
        flushCache in interface Caching