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