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.boolean
Is the mapping a formula instead of a physical column?boolean
boolean
Is the mapping considered nullable?boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMapping
getSelectableName, getSelectablePath, getWriteExpression
Methods inherited from interface org.hibernate.metamodel.mapping.SqlTypedMapping
isLob, toSize
-
Constructor Details
-
MutableSelectableMapping
-
-
Method Details
-
getContainingTableExpression
Description copied from interface:SelectableMapping
The name of the table to which this selectable is mapped- Specified by:
getContainingTableExpression
in interfaceSelectableMapping
-
getSelectionExpression
Description copied from interface:SelectableMapping
The selection's expression. This is the column name or formula- Specified by:
getSelectionExpression
in interfaceSelectableMapping
-
getJdbcMapping
- Specified by:
getJdbcMapping
in interfaceSqlTypedMapping
-
isFormula
public boolean isFormula()Description copied from interface:SelectableMapping
Is the mapping a formula instead of a physical column?- Specified by:
isFormula
in interfaceSelectableMapping
-
isNullable
public boolean isNullable()Description copied from interface:SelectableMapping
Is the mapping considered nullable?- Specified by:
isNullable
in interfaceSelectableMapping
-
isInsertable
public boolean isInsertable()- Specified by:
isInsertable
in interfaceSelectableMapping
-
isUpdateable
public boolean isUpdateable()- Specified by:
isUpdateable
in interfaceSelectableMapping
-
isPartitioned
public boolean isPartitioned()- Specified by:
isPartitioned
in interfaceSelectableMapping
-
getColumnDefinition
- Specified by:
getColumnDefinition
in interfaceSqlTypedMapping
-
getLength
- Specified by:
getLength
in interfaceSqlTypedMapping
-
getPrecision
- Specified by:
getPrecision
in interfaceSqlTypedMapping
-
getScale
- Specified by:
getScale
in interfaceSqlTypedMapping
-
getTemporalPrecision
- Specified by:
getTemporalPrecision
in interfaceSqlTypedMapping
-
getCustomReadExpression
Description copied from interface:SelectableMapping
The selection's read expression accounting for formula treatment as well asColumnTransformer.read()
- Specified by:
getCustomReadExpression
in interfaceSelectableMapping
-
getCustomWriteExpression
Description copied from interface:SelectableMapping
The selection's write expression accountingColumnTransformer.write()
- Specified by:
getCustomWriteExpression
in interfaceSelectableMapping
-