org.hibernate.mapping
Interface KeyValue
- All Superinterfaces:
- 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.
Methods inherited from interface org.hibernate.mapping.Value |
accept, createForeignKey, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getFetchMode, getTable, getType, hasFormula, isAlternateUniqueKey, isNullable, isSimpleValue, isValid, setTypeUsingReflection |
createIdentifierGenerator
IdentifierGenerator createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect,
String defaultCatalog,
String defaultSchema,
RootClass rootClass)
throws MappingException
- Throws:
MappingException
isIdentityColumn
boolean isIdentityColumn(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect)
createForeignKeyOfEntity
void createForeignKeyOfEntity(String entityName)
isCascadeDeleteEnabled
boolean isCascadeDeleteEnabled()
getNullValue
String getNullValue()
isUpdateable
boolean isUpdateable()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.