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. A KeyValue
might represent the primary key
of an entity or the foreign key of a collection, join table, secondary table,
or joined subclass table.-
Method Summary
Modifier and TypeMethodDescriptioncreateForeignKeyOfEntity
(String entityName) createGenerator
(Dialect dialect, RootClass rootClass) boolean
boolean
Methods 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
-
isCascadeDeleteEnabled
boolean isCascadeDeleteEnabled() -
getNullValue
String getNullValue() -
isUpdateable
boolean isUpdateable() -
createGenerator
-