Annotation Interface CommitLog
@Deprecated(since="5.0")
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
public @interface CommitLog
Deprecated.
An annotation that adds commit log behavior to Persistent objects.
- Since:
- 4.0
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Deprecated.Returns an array of properties that should be treated as confidential.booleanDeprecated.Returns whether all attributes should be excluded from commit log.String[]Deprecated.Returns an array of entity properties that should be excluded from commit log.booleanDeprecated.Returns whether all to-many relationships should be excluded from commit log.booleanDeprecated.Returns whether all to-one relationships should be excluded from commit log.
-
Element Details
-
ignoredProperties
String[] ignoredPropertiesDeprecated.Returns an array of entity properties that should be excluded from commit log.- Default:
{}
-
ignoreAttributes
boolean ignoreAttributesDeprecated.Returns whether all attributes should be excluded from commit log.- Since:
- 4.0
- Default:
false
-
ignoreToOneRelationships
boolean ignoreToOneRelationshipsDeprecated.Returns whether all to-one relationships should be excluded from commit log.- Since:
- 4.0
- Default:
false
-
ignoreToManyRelationships
boolean ignoreToManyRelationshipsDeprecated.Returns whether all to-many relationships should be excluded from commit log.- Since:
- 4.0
- Default:
false
-
confidential
String[] confidentialDeprecated.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:
{}
-
CommitLoginstead.