Package org.hibernate.id
Class ExportableColumn.ValueImpl
java.lang.Object
org.hibernate.id.ExportableColumn.ValueImpl
- All Implemented Interfaces:
Serializable
,Value
- Enclosing class:
- ExportableColumn
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValueImpl
(ExportableColumn column, Table table, BasicType<?> type, Database database) -
Method Summary
Modifier and TypeMethodDescriptionaccept
(ValueVisitor visitor) copy()
void
void
createUniqueKey
(MetadataBuildingContext context) boolean[]
If the mapping involves only columns, return them.int
The number of columns and formulas in the mapping.boolean[]
The mapping to columns and formulas.getTable()
getType()
boolean
boolean
boolean
boolean
boolean
isColumnInsertable
(int index) boolean
isColumnUpdateable
(int index) boolean
boolean
boolean
boolean
isValid
(MappingContext mappingContext) void
setTypeUsingReflection
(String className, String propertyName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.mapping.Value
checkColumnDuplication, getBuildingContext, getConstraintColumns, getExtraCreateTableInfo, getSelectableType, getSelectableType, getVirtualSelectables, isValid
-
Constructor Details
-
ValueImpl
-
-
Method Details
-
copy
-
getColumnSpan
public int getColumnSpan()Description copied from interface:Value
The number of columns and formulas in the mapping.- Specified by:
getColumnSpan
in interfaceValue
-
getSelectables
Description copied from interface:Value
The mapping to columns and formulas.- Specified by:
getSelectables
in interfaceValue
-
getColumns
Description copied from interface:Value
If the mapping involves only columns, return them.- Specified by:
getColumns
in interfaceValue
-
getType
- Specified by:
getType
in interfaceValue
- Throws:
MappingException
-
getFetchMode
- Specified by:
getFetchMode
in interfaceValue
-
getTable
-
hasFormula
public boolean hasFormula()- Specified by:
hasFormula
in interfaceValue
-
isAlternateUniqueKey
public boolean isAlternateUniqueKey()- Specified by:
isAlternateUniqueKey
in interfaceValue
-
isNullable
public boolean isNullable()- Specified by:
isNullable
in interfaceValue
-
getColumnInsertability
public boolean[] getColumnInsertability()- Specified by:
getColumnInsertability
in interfaceValue
-
hasAnyInsertableColumns
public boolean hasAnyInsertableColumns()- Specified by:
hasAnyInsertableColumns
in interfaceValue
-
getColumnUpdateability
public boolean[] getColumnUpdateability()- Specified by:
getColumnUpdateability
in interfaceValue
-
hasAnyUpdatableColumns
public boolean hasAnyUpdatableColumns()- Specified by:
hasAnyUpdatableColumns
in interfaceValue
-
createForeignKey
public void createForeignKey()- Specified by:
createForeignKey
in interfaceValue
-
createUniqueKey
- Specified by:
createUniqueKey
in interfaceValue
-
isSimpleValue
public boolean isSimpleValue()- Specified by:
isSimpleValue
in interfaceValue
-
isValid
- Specified by:
isValid
in interfaceValue
- Throws:
MappingException
-
setTypeUsingReflection
- Specified by:
setTypeUsingReflection
in interfaceValue
- Throws:
MappingException
-
accept
-
isSame
-
getServiceRegistry
- Specified by:
getServiceRegistry
in interfaceValue
-
isColumnInsertable
public boolean isColumnInsertable(int index) - Specified by:
isColumnInsertable
in interfaceValue
-
isColumnUpdateable
public boolean isColumnUpdateable(int index) - Specified by:
isColumnUpdateable
in interfaceValue
-