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
public interface KeyValue extends Value
Represents an identifying key of a table: the value for primary key of an entity, or a foreign key of a collection or join table or joined subclass table.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ForeignKey
createForeignKeyOfEntity(String entityName)
IdentifierGenerator
createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)
Deprecated.IdentifierGenerator
createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)
String
getNullValue()
boolean
isCascadeDeleteEnabled()
boolean
isIdentityColumn(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect)
boolean
isUpdateable()
-
Methods inherited from interface org.hibernate.mapping.Value
accept, copy, createForeignKey, createUniqueKey, getColumnInsertability, getColumnIterator, getColumns, getColumnSpan, getColumnUpdateability, getConstraintColumns, getFetchMode, getSelectables, getServiceRegistry, getTable, getType, getVirtualSelectables, hasAnyInsertableColumns, hasAnyUpdatableColumns, hasFormula, isAlternateUniqueKey, isNullable, isSame, isSimpleValue, isValid, setTypeUsingReflection
-
-
-
-
Method Detail
-
createIdentifierGenerator
@Deprecated IdentifierGenerator createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass) throws MappingException
Deprecated.- Throws:
MappingException
-
createIdentifierGenerator
IdentifierGenerator createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass) throws MappingException
- Throws:
MappingException
-
isIdentityColumn
boolean isIdentityColumn(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect)
-
createForeignKeyOfEntity
ForeignKey createForeignKeyOfEntity(String entityName)
-
isCascadeDeleteEnabled
boolean isCascadeDeleteEnabled()
-
getNullValue
String getNullValue()
-
isUpdateable
boolean isUpdateable()
-
-