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 defaultRelationTargetAuditModemode 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 defaultRelationTargetAuditModemode of AUDITED. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuditingOverride(AuditOverride annotation) voidaddAuditingOverrides(AuditOverrides annotationOverrides) getName()Get the relationTargetAuditMode property.getValue()booleanbooleanbooleanbooleanbooleanbooleanvoidsetAccessType(String accessType) voidsetAuditMappedBy(String auditMappedBy) voidsetBeanName(String beanName) voidsetCollectionAuditTable(CollectionAuditTable collectionAuditTable) voidsetExplicitModifiedFlagName(String modifiedFlagName) voidsetForceInsertable(boolean forceInsertable) voidsetJoinTable(AuditJoinTableData joinTable) voidvoidsetMapKeyEnumType(EnumType mapKeyEnumType) voidsetModifiedFlagName(String modifiedFlagName) voidvoidsetPositionMappedBy(String positionMappedBy) voidsetPropertyAccessStrategy(PropertyAccessStrategy propertyAccessStrategy) voidsetPropertyType(Type propertyType) voidsetRelationMappedBy(String relationMappedBy) voidsetRelationTargetAuditMode(RelationTargetAuditMode relationTargetAuditMode) Set the relationTargetAuditMode property value.voidsetRelationTargetNotFoundAction(RelationTargetNotFoundAction relationTargetNotFoundAction) voidsetUsingModifiedFlag(boolean usingModifiedFlag) voidvoidsetVirtualPropertyType(Type virtualPropertyType)
-
Constructor Details
-
PropertyAuditingData
public PropertyAuditingData() -
PropertyAuditingData
Create a property with the defaultRelationTargetAuditModemode 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 defaultRelationTargetAuditModemode 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
-