Class PropertyData

  • Direct Known Subclasses:
    RevisionTimestampData

    public class PropertyData
    extends Object
    The runtime representation of an audited property.
    • Constructor Detail

      • PropertyData

        public PropertyData​(String newName,
                            PropertyData propertyData)
        Copies the given property data, except the name.
        Parameters:
        newName - New name.
        propertyData - Property data to copy the rest of properties from.
      • PropertyData

        public PropertyData​(String name,
                            String beanName,
                            String accessType)
        Parameters:
        name - Name of the property.
        beanName - Name of the property in the bean.
        accessType - Accessor type for this property.
      • PropertyData

        public PropertyData​(String name,
                            String beanName,
                            String accessType,
                            Type propertyType)
      • PropertyData

        public PropertyData​(String name,
                            String beanName,
                            String accessType,
                            boolean usingModifiedFlag,
                            String modifiedFlagName,
                            boolean synthetic)
        Parameters:
        name - Name of the property.
        beanName - Name of the property in the bean.
        accessType - Accessor type for this property.
        usingModifiedFlag - Defines if field changes should be tracked
    • Method Detail

      • getName

        public String getName()
      • getBeanName

        public String getBeanName()
      • getAccessType

        public String getAccessType()
      • isUsingModifiedFlag

        public boolean isUsingModifiedFlag()
      • getModifiedFlagPropertyName

        public String getModifiedFlagPropertyName()
      • isSynthetic

        public boolean isSynthetic()
      • getType

        public Type getType()
      • getVirtualReturnClass

        public Class<?> getVirtualReturnClass()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object