@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 |
java.lang.Class |
forClass |
boolean |
isAudited |
java.lang.String |
name |
public abstract java.lang.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 java.lang.Class forClass
AuditOverride
is used to change auditing behavior of attributes inherited from MappedSuperclass
type.Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.