Package org.apache.cayenne.commitlog
Annotation Type CommitLog
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface CommitLog
An annotation that adds commit log behavior to DataObjects.- Since:
- 4.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]confidentialReturns an array of properties that should be treated as confidential.booleanignoreAttributesReturns whether all attributes should be excluded from commit log.String[]ignoredPropertiesReturns an array of entity properties that should be excluded from commit log.booleanignoreToManyRelationshipsReturns whether all to-many relationships should be excluded from commit log.booleanignoreToOneRelationshipsReturns whether all to-one relationships should be excluded from commit log.
-
-
-
Element Detail
-
ignoredProperties
String[] ignoredProperties
Returns an array of entity properties that should be excluded from commit log.- Default:
- {}
-
-
-
confidential
String[] confidential
Returns an array of properties that should be treated as confidential. I.e. their change should be recorded, but their values should be hidden from listeners. In practice both old and new values will be set to an instance ofConfidential.- Since:
- 4.0
- Default:
- {}
-
-