Package org.hibernate.mapping
Interface KeyValue
- All Superinterfaces:
Serializable,Value
- All Known Implementing Classes:
Any,Any.KeyValue,Any.MetaValue,BasicValue,Component,DependantBasicValue,DependantValue,ManyToOne,OneToOne,SimpleValue,ToOne
A mapping model
Value which may be treated as an identifying key of a relational database table. AKeyValue might represent the primary key of an entity or the foreign key of a collection, join table, secondary table, or joined subclass table.Nested Class Summary
Nested ClassesMethod Summary
Modifier and TypeMethodDescriptioncreateForeignKeyOfEntity(String entityName) createForeignKeyOfEntity(String entityName,List<Column> referencedColumns) createGenerator(Dialect dialect,RootClass rootClass) Deprecated, for removal: This API element is subject to removal in a future version.No longer called, except from tests.createGenerator(Dialect dialect,RootClass rootClass,Property property,GeneratorSettings defaults) booleanbooleanMethods inherited from interface org.hibernate.mapping.Value
accept,checkColumnDuplication,copy,createForeignKey,createUniqueKey,getBuildingContext,getColumnInsertability,getColumns,getColumnSpan,getColumnUpdateability,getConstraintColumns,getExtraCreateTableInfo,getFetchMode,getSelectables,getSelectableType,getServiceRegistry,getTable,getType,getVirtualSelectables,hasAnyInsertableColumns,hasAnyUpdatableColumns,hasFormula,isAlternateUniqueKey,isColumnInsertable,isColumnUpdateable,isNullable,isSame,isSimpleValue,isValid,setTypeUsingReflection
Method Details
createForeignKeyOfEntity
createForeignKeyOfEntity
isCascadeDeleteEnabled
boolean isCascadeDeleteEnabled()getNullValueSemantic
KeyValue.NullValueSemantic getNullValueSemantic()getNullValue
String getNullValue()isUpdateable
boolean isUpdateable()createGenerator
@Deprecated(since="7.0",forRemoval=true)Generator createGenerator(Dialect dialect,RootClass rootClass) Deprecated, for removal: This API element is subject to removal in a future version.No longer called, except from tests. UsecreateGenerator(Dialect, RootClass, Property, GeneratorSettings)createGenerator
@IncubatingGenerator createGenerator(Dialect dialect,RootClass rootClass,Property property,GeneratorSettings defaults)