Package org.hibernate.mapping
Interface KeyValue
-
- All Superinterfaces:
java.io.Serializable
,Value
- All Known Implementing Classes:
Any
,Component
,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 void
createForeignKeyOfEntity(java.lang.String entityName)
IdentifierGenerator
createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, java.lang.String defaultCatalog, java.lang.String defaultSchema, RootClass rootClass)
Deprecated.IdentifierGenerator
createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)
java.lang.String
getNullValue()
boolean
isCascadeDeleteEnabled()
boolean
isIdentityColumn(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect)
boolean
isUpdateable()
-
Methods inherited from interface org.hibernate.mapping.Value
accept, createForeignKey, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getFetchMode, getServiceRegistry, getTable, getType, hasFormula, isAlternateUniqueKey, isNullable, isSame, isSimpleValue, isValid, setTypeUsingReflection
-
-
-
-
Method Detail
-
createIdentifierGenerator
@Deprecated IdentifierGenerator createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, java.lang.String defaultCatalog, java.lang.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
void createForeignKeyOfEntity(java.lang.String entityName)
-
isCascadeDeleteEnabled
boolean isCascadeDeleteEnabled()
-
getNullValue
java.lang.String getNullValue()
-
isUpdateable
boolean isUpdateable()
-
-