@Target(value={TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) public @interface AuditOverride
AuditingOverride annotation is used to override the auditing
behavior of a superclass or single property inherited from MappedSuperclass
type, or attribute inside an embedded component.Embedded,
Embeddable,
MappedSuperclass,
AssociationOverride,
AuditJoinTable| Modifier and Type | Optional Element and Description |
|---|---|
AuditJoinTable |
auditJoinTable |
Class |
forClass |
boolean |
isAudited |
String |
name |
public abstract String name
AuditOverride is used to change auditing behavior of all attributes inherited from
MappedSuperclass type.public abstract boolean isAudited
true.public abstract AuditJoinTable auditJoinTable
AuditJoinTable used for this field (or property). Its value
is ignored if isAudited() equals to false.public abstract Class forClass
AuditOverride is used to change auditing behavior of attributes inherited from MappedSuperclass
type.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.