Annotation Type SoftDelete
Extension annotation allowing for specifying a class as using soft delete, meaning that it will have a surrogate column in its table storing
whether it is deleted (rather than deleting it).
-
Optional Element Summary
Optional Elements
-
Element Details
-
column
String columnName of the soft delete flag column in the table for this class.- Returns:
- The soft delete column name
- Default:
"DELETED"
-
columns
javax.jdo.annotations.Column[] columnsThe column making up the soft delete indicator.- Returns:
- the column making up the soft delete indicator.
- Default:
{}
-
indexed
String indexedWhether the soft delete column is indexed.- Returns:
- whether the soft delete column is indexed
- Default:
""
-