Modifier and Type | Optional Element and Description |
---|---|
Class[] |
auditParents
Deprecated.
Use
@AuditOverride(forClass=SomeEntity.class) instead. |
String |
modifiedColumnName
The column name of the modified field.
|
ModificationStore |
modStore
Deprecated.
since 5.2, to be removed in 6.0 with no replacement.
|
RelationTargetAuditMode |
targetAuditMode
Specifies if the entity that is the target of the relation should be audited or not.
|
boolean |
withModifiedFlag
Should a modification flag be stored for each property in the annotated class or for the annotated
property.
|
@Deprecated public abstract ModificationStore modStore
Specifies modification store to use
public abstract RelationTargetAuditMode targetAuditMode
Specifies if the entity that is the target of the relation should be audited or not. If not, then when reading a historic version an audited entity, the relation will always point to the "current" entity. This is useful for dictionary-like entities, which don’t change and don’t need to be audited.
@Deprecated public abstract Class[] auditParents
@AuditOverride(forClass=SomeEntity.class)
instead.Specifies the superclasses for which properties should be audited, even if the superclasses are not
annotated with Audited
. Causes all properties of the listed classes to be audited, just as if the
classes had Audited
annotation applied on the class level.
<p/>
The scope of this functionality is limited to the class hierarchy of the annotated entity.
<p/>
If a parent type lists any of its parent types using this attribute, all properties in the specified classes
will also be audited.
public abstract boolean withModifiedFlag
Should a modification flag be stored for each property in the annotated class or for the annotated property. The flag stores information if a property has been changed at a given revision. This can be used for example in queries.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.