@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface AuditableChild
value() or objectIdRelationship() must be set to a non-empty String,
so that a processor of AuditableChild could find the parent of the annotated object.| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
ignoredProperties |
String |
objectIdRelationship
Returns the name of the property of the annotated entity of the relationship that
stores a String "FK" of a related "parent" entity.
|
String |
value
Returns the name of a to-one relationship from an annotated object to the "parent"
object that should be audited when annotated object is changed.
|
public abstract String value
public abstract String objectIdRelationship
public abstract String[] ignoredProperties
Copyright © 2001–2014 Apache Cayenne. All rights reserved.