Package org.hibernate.metamodel.mapping
Class SelectableConsumer.MutableSelectableMapping
java.lang.Object
org.hibernate.metamodel.mapping.SelectableConsumer.MutableSelectableMapping
- All Implemented Interfaces:
SelectableMapping,SqlTypedMapping
- Enclosing interface:
SelectableConsumer
public static class SelectableConsumer.MutableSelectableMapping
extends Object
implements SelectableMapping
-
Constructor Summary
ConstructorsConstructorDescriptionMutableSelectableMapping(String tableName, JdbcMappingContainer base, String[] columnNames) -
Method Summary
Modifier and TypeMethodDescriptionThe name of the table to which this selectable is mappedThe selection's read expression accounting for formula treatment as well asColumnTransformer.read()The selection's write expression accountingColumnTransformer.write()getScale()The selection's expression.booleanIs the mapping a formula instead of a physical column?booleanbooleanIs the mapping considered nullable?booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.mapping.SelectableMapping
getSelectableName, getSelectablePath, getWriteExpressionMethods inherited from interface org.hibernate.metamodel.mapping.SqlTypedMapping
isLob, toSize
-
Constructor Details
-
MutableSelectableMapping
-
-
Method Details
-
getContainingTableExpression
Description copied from interface:SelectableMappingThe name of the table to which this selectable is mapped- Specified by:
getContainingTableExpressionin interfaceSelectableMapping
-
getSelectionExpression
Description copied from interface:SelectableMappingThe selection's expression. This is the column name or formula- Specified by:
getSelectionExpressionin interfaceSelectableMapping
-
getJdbcMapping
- Specified by:
getJdbcMappingin interfaceSqlTypedMapping
-
isFormula
public boolean isFormula()Description copied from interface:SelectableMappingIs the mapping a formula instead of a physical column?- Specified by:
isFormulain interfaceSelectableMapping
-
isNullable
public boolean isNullable()Description copied from interface:SelectableMappingIs the mapping considered nullable?- Specified by:
isNullablein interfaceSelectableMapping
-
isInsertable
public boolean isInsertable()- Specified by:
isInsertablein interfaceSelectableMapping
-
isUpdateable
public boolean isUpdateable()- Specified by:
isUpdateablein interfaceSelectableMapping
-
isPartitioned
public 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
-
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
-