@Retention(value=RUNTIME) @Target(value={TYPE,METHOD,FIELD}) public @interface Audited
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
public abstract RelationTargetAuditMode targetAuditMode
@Deprecated public abstract Class[] auditParents
@AuditOverride(forClass=SomeEntity.class)
instead.Audited
. Causes all properties of the listed classes to be audited, just as if the
classes had Audited
annotation applied on the class level.
The scope of this functionality is limited to the class hierarchy of the annotated entity.
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
Copyright © 2019 JBoss by Red Hat. All rights reserved.