Class PropertyData
java.lang.Object
org.hibernate.envers.internal.entities.PropertyData
- Direct Known Subclasses:
RevisionTimestampData
The runtime representation of an audited property.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyData
(String name, String beanName, String accessType) PropertyData
(String name, String beanName, String accessType, boolean usingModifiedFlag, String modifiedFlagName, boolean synthetic) PropertyData
(String name, String beanName, String accessType, boolean usingModifiedFlag, String modifiedFlagName, boolean synthetic, Type propertyType, Class<?> virtualReturnClass, PropertyAccessStrategy propertyAccessStrategy) PropertyData
(String name, String beanName, String accessType, boolean usingModifiedFlag, String modifiedFlagName, boolean synthetic, Type propertyType, PropertyAccessStrategy propertyAccessStrategy) PropertyData
(String name, String beanName, String accessType, Type propertyType) PropertyData
(String newName, PropertyData propertyData) Copies the given property data, except the name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static PropertyData
forProperty
(String propertyName, Type propertyType) getName()
getType()
Class<?>
int
hashCode()
boolean
boolean
-
Constructor Details
-
PropertyData
Copies the given property data, except the name.- Parameters:
newName
- New name.propertyData
- Property data to copy the rest of properties from.
-
PropertyData
- Parameters:
name
- Name of the property.beanName
- Name of the property in the bean.accessType
- Accessor type for this property.
-
PropertyData
-
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
-
PropertyData
-
PropertyData
-
-
Method Details
-
getName
-
getBeanName
-
getAccessType
-
isUsingModifiedFlag
public boolean isUsingModifiedFlag() -
getModifiedFlagPropertyName
-
isSynthetic
public boolean isSynthetic() -
getType
-
getVirtualReturnClass
-
getPropertyAccessStrategy
-
equals
-
hashCode
public int hashCode() -
forProperty
-