Package org.hibernate.metamodel.mapping
Interface SoftDeleteMapping
- All Superinterfaces:
Bindable,JdbcMappingContainer,MappingModelExpressible,ModelPart,SelectableMapping,SqlExpressible,SqlTypedMapping,VirtualModelPart
- All Known Implementing Classes:
SoftDeleteMappingImpl
Metadata about the indicator column for entities and collections enabled
for soft delete
- Author:
- Steve Ebersole
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer -
Method Summary
Modifier and TypeMethodDescriptiondefault StringThe name of the soft-delete indicator column.default StringThe name of the table to which this selectable is mappeddefault StringThe selection's read expression accounting for formula treatment as well asColumnTransformer.read()default StringThe selection's write expression accountingColumnTransformer.write()The String representation of the SQL literal value which indicates a deleted rowThe SQL literal value which indicates a deleted rowdefault LongThe String representation of the SQL literal value which indicates a non-deleted rowThe SQL literal value which indicates a non-deleted rowdefault Integerdefault IntegergetScale()default Stringdefault StringThe selection's expression.The name of the table which holds the indicator columndefault Integerdefault Stringdefault booleanIs the mapping a formula instead of a physical column?default booleandefault booleanIs the mapping considered nullable?default booleandefault booleanMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, getJdbcTypeCountMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getSingleJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asAttributeMapping, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, findContainingEntityMapping, forEachSelectable, forEachSelectable, getJavaType, getNavigableRole, getPartMappingType, getPartName, hasPartitionedSelectionMapping, isEntityIdentifierMappingMethods inherited from interface org.hibernate.metamodel.mapping.SelectableMapping
getSelectablePathMethods inherited from interface org.hibernate.metamodel.mapping.SqlExpressible
getJdbcMapping, getJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.SqlTypedMapping
getJdbcMapping, isLob, toSizeMethods inherited from interface org.hibernate.metamodel.mapping.VirtualModelPart
isVirtual
-
Method Details
-
getColumnName
String getColumnName()The name of the soft-delete indicator column. -
getTableName
String getTableName()The name of the table which holds the indicator column -
getDeletedLiteralValue
Object getDeletedLiteralValue()The SQL literal value which indicates a deleted row -
getDeletedLiteralText
String getDeletedLiteralText()The String representation of the SQL literal value which indicates a deleted row -
getNonDeletedLiteralValue
Object getNonDeletedLiteralValue()The SQL literal value which indicates a non-deleted row -
getNonDeletedLiteralText
String getNonDeletedLiteralText()The String representation of the SQL literal value which indicates a non-deleted row -
getSelectionExpression
Description copied from interface:SelectableMappingThe selection's expression. This is the column name or formula- Specified by:
getSelectionExpressionin interfaceSelectableMapping
-
getSelectableName
- Specified by:
getSelectableNamein interfaceSelectableMapping
-
getWriteExpression
- Specified by:
getWriteExpressionin interfaceSelectableMapping
-
getContainingTableExpression
Description copied from interface:SelectableMappingThe name of the table to which this selectable is mapped- Specified by:
getContainingTableExpressionin interfaceSelectableMapping
-
getCustomReadExpression
Description copied from interface:SelectableMappingThe selection's read expression accounting for formula treatment as well asColumnTransformer.read()- Specified by:
getCustomReadExpressionin interfaceSelectableMapping
-
getCustomWriteExpression
Description copied from interface:SelectableMappingThe selection's write expression accountingColumnTransformer.write()- Specified by:
getCustomWriteExpressionin interfaceSelectableMapping
-
isFormula
default boolean isFormula()Description copied from interface:SelectableMappingIs the mapping a formula instead of a physical column?- Specified by:
isFormulain interfaceSelectableMapping
-
isNullable
default boolean isNullable()Description copied from interface:SelectableMappingIs the mapping considered nullable?- Specified by:
isNullablein interfaceSelectableMapping
-
isInsertable
default boolean isInsertable()- Specified by:
isInsertablein interfaceSelectableMapping
-
isUpdateable
default boolean isUpdateable()- Specified by:
isUpdateablein interfaceSelectableMapping
-
isPartitioned
default boolean isPartitioned()- Specified by:
isPartitionedin interfaceSelectableMapping
-
getColumnDefinition
- Specified by:
getColumnDefinitionin interfaceSqlTypedMapping
-
getLength
- Specified by:
getLengthin interfaceSqlTypedMapping
-
getPrecision
- Specified by:
getPrecisionin interfaceSqlTypedMapping
-
getScale
- Specified by:
getScalein interfaceSqlTypedMapping
-
getTemporalPrecision
- Specified by:
getTemporalPrecisionin interfaceSqlTypedMapping
-