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()voidvoidcreateUniqueKey(MetadataBuildingContext context) boolean[]If the mapping involves only columns, return them.intThe number of columns and formulas in the mapping.boolean[]The mapping to columns and formulas.getTable()getType()booleanbooleanbooleanbooleanbooleanisColumnInsertable(int index) booleanisColumnUpdateable(int index) booleanbooleanbooleanbooleanvoidsetTypeUsingReflection(String className, String propertyName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.mapping.Value
checkColumnDuplication, getBuildingContext, getConstraintColumns, getExtraCreateTableInfo, getSelectableType, getVirtualSelectables
-
Constructor Details
-
ValueImpl
-
-
Method Details
-
copy
-
getColumnSpan
public int getColumnSpan()Description copied from interface:ValueThe number of columns and formulas in the mapping.- Specified by:
getColumnSpanin interfaceValue
-
getSelectables
Description copied from interface:ValueThe mapping to columns and formulas.- Specified by:
getSelectablesin interfaceValue
-
getColumns
Description copied from interface:ValueIf the mapping involves only columns, return them.- Specified by:
getColumnsin interfaceValue
-
getType
- Specified by:
getTypein interfaceValue- Throws:
MappingException
-
getFetchMode
- Specified by:
getFetchModein interfaceValue
-
getTable
-
hasFormula
public boolean hasFormula()- Specified by:
hasFormulain interfaceValue
-
isAlternateUniqueKey
public boolean isAlternateUniqueKey()- Specified by:
isAlternateUniqueKeyin interfaceValue
-
isNullable
public boolean isNullable()- Specified by:
isNullablein interfaceValue
-
getColumnInsertability
public boolean[] getColumnInsertability()- Specified by:
getColumnInsertabilityin interfaceValue
-
hasAnyInsertableColumns
public boolean hasAnyInsertableColumns()- Specified by:
hasAnyInsertableColumnsin interfaceValue
-
getColumnUpdateability
public boolean[] getColumnUpdateability()- Specified by:
getColumnUpdateabilityin interfaceValue
-
hasAnyUpdatableColumns
public boolean hasAnyUpdatableColumns()- Specified by:
hasAnyUpdatableColumnsin interfaceValue
-
createForeignKey
public void createForeignKey()- Specified by:
createForeignKeyin interfaceValue
-
createUniqueKey
- Specified by:
createUniqueKeyin interfaceValue
-
isSimpleValue
public boolean isSimpleValue()- Specified by:
isSimpleValuein interfaceValue
-
isValid
- Specified by:
isValidin interfaceValue- Throws:
MappingException
-
setTypeUsingReflection
- Specified by:
setTypeUsingReflectionin interfaceValue- Throws:
MappingException
-
accept
-
isSame
-
getServiceRegistry
- Specified by:
getServiceRegistryin interfaceValue
-
isColumnInsertable
public boolean isColumnInsertable(int index) - Specified by:
isColumnInsertablein interfaceValue
-
isColumnUpdateable
public boolean isColumnUpdateable(int index) - Specified by:
isColumnUpdateablein interfaceValue
-