Class ComponentAuditingData
- java.lang.Object
-
- org.hibernate.envers.configuration.internal.metadata.reader.PropertyAuditingData
-
- org.hibernate.envers.configuration.internal.metadata.reader.ComponentAuditingData
-
- All Implemented Interfaces:
AuditedPropertiesHolder
public class ComponentAuditingData extends PropertyAuditingData implements AuditedPropertiesHolder
Audit mapping meta-data for component.
-
-
Constructor Summary
Constructors Constructor Description ComponentAuditingData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyAuditingData(String propertyName, PropertyAuditingData auditingData)
Add an audited property.boolean
contains(String propertyName)
Iterable<String>
getNonSyntheticPropertyNames()
PropertyAuditingData
getPropertyAuditingData(String propertyName)
Set<String>
getPropertyNames()
boolean
isEmpty()
-
Methods inherited from class org.hibernate.envers.configuration.internal.metadata.reader.PropertyAuditingData
addAuditingOverride, addAuditingOverrides, getAccessType, getAuditingOverrides, getAuditMappedBy, getBeanName, getCollectionAuditTable, getExplicitModifiedFlagName, getJoinTable, getMapKey, getMapKeyEnumType, getModifiedFlagName, getName, getPositionMappedBy, getPropertyAccessStrategy, getPropertyType, getRelationMappedBy, getRelationTargetAuditMode, getRelationTargetNotFoundAction, getValue, getVirtualPropertyType, hasAuditedMappedBy, hasRelationMappedBy, isForceInsertable, isModifiedFlagNameExplicitlySpecified, isSynthetic, isUsingModifiedFlag, resolvePropertyData, setAccessType, setAuditMappedBy, setBeanName, setCollectionAuditTable, setExplicitModifiedFlagName, setForceInsertable, setJoinTable, setMapKey, setMapKeyEnumType, setModifiedFlagName, setName, setPositionMappedBy, setPropertyAccessStrategy, setPropertyType, setRelationMappedBy, setRelationTargetAuditMode, setRelationTargetNotFoundAction, setUsingModifiedFlag, setValue, setVirtualPropertyType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.envers.configuration.internal.metadata.reader.AuditedPropertiesHolder
getAuditingOverrides
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceAuditedPropertiesHolder
- Returns:
- true if the holder contains any audited property
-
addPropertyAuditingData
public void addPropertyAuditingData(String propertyName, PropertyAuditingData auditingData)
Description copied from interface:AuditedPropertiesHolder
Add an audited property.- Specified by:
addPropertyAuditingData
in interfaceAuditedPropertiesHolder
- Parameters:
propertyName
- Name of the audited property.auditingData
- Data for the audited property.
-
getPropertyAuditingData
public PropertyAuditingData getPropertyAuditingData(String propertyName)
- Specified by:
getPropertyAuditingData
in interfaceAuditedPropertiesHolder
- Parameters:
propertyName
- Name of a property.- Returns:
- Auditing data for the property.
-
contains
public boolean contains(String propertyName)
- Specified by:
contains
in interfaceAuditedPropertiesHolder
- Returns:
- true if the holder contains the given audited property
-
-