Class PropertyAuditingData
java.lang.Object
org.hibernate.envers.configuration.internal.metadata.reader.PropertyAuditingData
- Direct Known Subclasses:
ComponentAuditingData
The boot-time representation of an audited property.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyAuditingData
(String name, String accessType, boolean forceInsertable) Create a property with the defaultRelationTargetAuditMode
mode of AUDITED.PropertyAuditingData
(String name, String accessType, RelationTargetAuditMode relationTargetAuditMode, RelationTargetNotFoundAction relationTargetNotFoundAction, String auditMappedBy, String positionMappedBy, boolean forceInsertable, boolean synthetic, Value value) PropertyAuditingData
(String name, String accessType, RelationTargetNotFoundAction relationTargetNotFoundAction, boolean forceInsertable, boolean synthetic, Value value) Create a property with the defaultRelationTargetAuditMode
mode of AUDITED. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuditingOverride
(AuditOverride annotation) void
addAuditingOverrides
(AuditOverrides annotationOverrides) getName()
Get the relationTargetAuditMode property.getValue()
boolean
boolean
boolean
boolean
boolean
boolean
void
setAccessType
(String accessType) void
setAuditMappedBy
(String auditMappedBy) void
setBeanName
(String beanName) void
setCollectionAuditTable
(CollectionAuditTable collectionAuditTable) void
setExplicitModifiedFlagName
(String modifiedFlagName) void
setForceInsertable
(boolean forceInsertable) void
setJoinTable
(AuditJoinTableData joinTable) void
void
setMapKeyEnumType
(EnumType mapKeyEnumType) void
setModifiedFlagName
(String modifiedFlagName) void
void
setPositionMappedBy
(String positionMappedBy) void
setPropertyAccessStrategy
(PropertyAccessStrategy propertyAccessStrategy) void
setPropertyType
(Type propertyType) void
setRelationMappedBy
(String relationMappedBy) void
setRelationTargetAuditMode
(RelationTargetAuditMode relationTargetAuditMode) Set the relationTargetAuditMode property value.void
setRelationTargetNotFoundAction
(RelationTargetNotFoundAction relationTargetNotFoundAction) void
setUsingModifiedFlag
(boolean usingModifiedFlag) void
void
setVirtualPropertyType
(Type virtualPropertyType)
-
Constructor Details
-
PropertyAuditingData
public PropertyAuditingData() -
PropertyAuditingData
Create a property with the defaultRelationTargetAuditMode
mode of AUDITED.- Parameters:
name
- the property nameaccessType
- the access typeforceInsertable
- whether the property is forced insertable
-
PropertyAuditingData
public PropertyAuditingData(String name, String accessType, RelationTargetNotFoundAction relationTargetNotFoundAction, boolean forceInsertable, boolean synthetic, Value value) Create a property with the defaultRelationTargetAuditMode
mode of AUDITED.- Parameters:
name
- the property nameaccessType
- the access typerelationTargetNotFoundAction
- the relation target not found actionforceInsertable
- whether the property is forced insertablesynthetic
- whether the property is a synthetic, non-logic column-based propertyvalue
- the mapping model's value
-
PropertyAuditingData
public PropertyAuditingData(String name, String accessType, RelationTargetAuditMode relationTargetAuditMode, RelationTargetNotFoundAction relationTargetNotFoundAction, String auditMappedBy, String positionMappedBy, boolean forceInsertable, boolean synthetic, Value value)
-
-
Method Details
-
getName
-
setName
-
getBeanName
-
setBeanName
-
getMapKey
-
setMapKey
-
getMapKeyEnumType
-
setMapKeyEnumType
-
getJoinTable
-
setJoinTable
-
getAccessType
-
setAccessType
-
getAuditingOverrides
-
getAuditMappedBy
-
hasAuditedMappedBy
public boolean hasAuditedMappedBy() -
setAuditMappedBy
-
getRelationMappedBy
-
hasRelationMappedBy
public boolean hasRelationMappedBy() -
setRelationMappedBy
-
getPositionMappedBy
-
setPositionMappedBy
-
isForceInsertable
public boolean isForceInsertable() -
setForceInsertable
public void setForceInsertable(boolean forceInsertable) -
isUsingModifiedFlag
public boolean isUsingModifiedFlag() -
setUsingModifiedFlag
public void setUsingModifiedFlag(boolean usingModifiedFlag) -
getModifiedFlagName
-
setModifiedFlagName
-
isModifiedFlagNameExplicitlySpecified
public boolean isModifiedFlagNameExplicitlySpecified() -
getExplicitModifiedFlagName
-
setExplicitModifiedFlagName
-
addAuditingOverride
-
addAuditingOverrides
-
getRelationTargetAuditMode
Get the relationTargetAuditMode property.- Returns:
- the relationTargetAuditMode property value
-
setRelationTargetAuditMode
Set the relationTargetAuditMode property value.- Parameters:
relationTargetAuditMode
- the relationTargetAuditMode to set
-
getRelationTargetNotFoundAction
-
setRelationTargetNotFoundAction
public void setRelationTargetNotFoundAction(RelationTargetNotFoundAction relationTargetNotFoundAction) -
isSynthetic
public boolean isSynthetic() -
getValue
-
setValue
-
getPropertyType
-
setPropertyType
-
getPropertyAccessStrategy
-
setPropertyAccessStrategy
-
getVirtualPropertyType
-
setVirtualPropertyType
-
getCollectionAuditTable
-
setCollectionAuditTable
-
resolvePropertyData
-