Class SoftDeleteMetaData
java.lang.Object
org.datanucleus.metadata.MetaData
org.datanucleus.metadata.SoftDeleteMetaData
- All Implemented Interfaces:
Serializable
MetaData representation for a soft delete indicator column.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ColumnMetaDataMultitenancy column details.protected StringColumn name for soft delete.protected Booleanprotected IndexMetaDataDetail of any indexing of the soft delete column (optional).private static final longFields inherited from class MetaData
EXTENSION_CLASS_CREATETIMESTAMP, EXTENSION_CLASS_CREATETIMESTAMP_COLUMN_NAME, EXTENSION_CLASS_CREATEUSER, EXTENSION_CLASS_CREATEUSER_COLUMN_LENGTH, EXTENSION_CLASS_CREATEUSER_COLUMN_NAME, EXTENSION_CLASS_MULTITENANCY_COLUMN_LENGTH, EXTENSION_CLASS_MULTITENANCY_COLUMN_NAME, EXTENSION_CLASS_MULTITENANCY_JDBC_TYPE, EXTENSION_CLASS_MULTITENANT, EXTENSION_CLASS_READ_ONLY, EXTENSION_CLASS_SOFTDELETE, EXTENSION_CLASS_SOFTDELETE_COLUMN_NAME, EXTENSION_CLASS_UPDATETIMESTAMP, EXTENSION_CLASS_UPDATETIMESTAMP_COLUMN_NAME, EXTENSION_CLASS_UPDATEUSER, EXTENSION_CLASS_UPDATEUSER_COLUMN_LENGTH, EXTENSION_CLASS_UPDATEUSER_COLUMN_NAME, EXTENSION_CLASS_VERSION_FIELD_NAME, EXTENSION_CLASS_VIEW_DEFINITION, EXTENSION_CLASS_VIEW_IMPORTS, EXTENSION_INDEX_COLUMN_ORDERING, EXTENSION_MEMBER_CACHEABLE, EXTENSION_MEMBER_CALENDAR_ONE_COLUMN, EXTENSION_MEMBER_CASCADE_ATTACH, EXTENSION_MEMBER_CASCADE_DETACH, EXTENSION_MEMBER_CASCADE_PERSIST, EXTENSION_MEMBER_CASCADE_REFRESH, EXTENSION_MEMBER_COMPARATOR_NAME, EXTENSION_MEMBER_CONTAINER_ALLOW_NULLS, EXTENSION_MEMBER_CREATE_TIMESTAMP, EXTENSION_MEMBER_CREATE_USER, EXTENSION_MEMBER_ENUM_VALUE_GETTER, EXTENSION_MEMBER_IMPLEMENTATION_CLASSES, EXTENSION_MEMBER_INSERTABLE, EXTENSION_MEMBER_KEY_IMPLEMENTATION_CLASSES, EXTENSION_MEMBER_LIST_ORDERING, EXTENSION_MEMBER_RELATION_DISCRIM_COLUMN, EXTENSION_MEMBER_RELATION_DISCRIM_PK, EXTENSION_MEMBER_RELATION_DISCRIM_VALUE, EXTENSION_MEMBER_STRATEGY_WHEN_NOTNULL, EXTENSION_MEMBER_TYPE_CONVERTER_DISABLED, EXTENSION_MEMBER_TYPE_CONVERTER_NAME, EXTENSION_MEMBER_UPDATE_TIMESTAMP, EXTENSION_MEMBER_UPDATE_USER, EXTENSION_MEMBER_UPDATEABLE, EXTENSION_MEMBER_VALUE_IMPLEMENTATION_CLASSES, EXTENSION_VERSION_NUMBER_INITIAL_VALUE, extensions, metaDataState, parent, VENDOR_NAME -
Constructor Summary
ConstructorsConstructorDescriptionCopy constructor. -
Method Summary
Modifier and TypeMethodDescriptionAccessor for column MetaData.final IndexMetaDataAccessor for indexMetaDatavoidInitialisation method.Method to create a new ColumnMetaData, add it, and return it.voidsetColumnMetaData(ColumnMetaData columnMetaData) Mutator for column MetaData.setColumnName(String columnName) setIndexed(boolean indexed) final voidsetIndexMetaData(IndexMetaData indexMetaData) Mutator for the index MetaDatatoString()Methods inherited from class MetaData
addExtension, addExtensions, getExtensions, getMetaDataManager, getNoOfExtensions, getParent, getValueForExtension, getValuesForExtension, hasExtension, isInitialised, isPopulated, isUsed, removeExtension, setExtensions, setInitialised, setParent, setPopulated, setUsed
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
columnName
Column name for soft delete. -
columnMetaData
Multitenancy column details. -
indexed
-
indexMetaData
Detail of any indexing of the soft delete column (optional).
-
-
Constructor Details
-
SoftDeleteMetaData
public SoftDeleteMetaData() -
SoftDeleteMetaData
Copy constructor.- Parameters:
sdmd- SoftDeleteMetaData to copy
-
-
Method Details
-
initialise
Initialisation method. This should be called AFTER using the populate method if you are going to use populate. It creates the internal convenience arrays etc needed for normal operation.- Overrides:
initialisein classMetaData- Parameters:
clr- Not used
-
getColumnName
-
setColumnName
-
getColumnMetaData
Accessor for column MetaData.- Returns:
- Returns the column MetaData.
-
newColumnMetaData
Method to create a new ColumnMetaData, add it, and return it.- Returns:
- The Column metadata
-
setColumnMetaData
Mutator for column MetaData.- Parameters:
columnMetaData- The column MetaData to set.
-
setIndexed
-
getIndexMetaData
Accessor for indexMetaData- Returns:
- Returns the indexMetaData.
-
setIndexMetaData
Mutator for the index MetaData- Parameters:
indexMetaData- The indexMetaData to set.
-
toString
-