Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Author:
  Gavin King

Method Summary
`void` | `createForeignKeyOfEntity(String entityName)`
`IdentifierGenerator` | `createIdentifierGenerator(Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)`
`String` | `getNullValue()`
`boolean` | `isCascadeDeleteEnabled()`
`boolean` | `isIdentityColumn(Dialect dialect)`
`boolean` | `isUpdateable()`

Methods inherited from interface org.hibernate.mapping.Value
`accept, createForeignKey, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getFetchMode, getTable, getType, hasFormula, isAlternateUniqueKey, isNullable, isSimpleValue, isValid, setTypeUsingReflection`

Method Detail

### createForeignKeyOfEntity

    void createForeignKeyOfEntity(String entityName)

### isCascadeDeleteEnabled

    boolean isCascadeDeleteEnabled()

### isIdentityColumn

    boolean isIdentityColumn(Dialect dialect)

### getNullValue

    String getNullValue()

### isUpdateable

    boolean isUpdateable()

### createIdentifierGenerator

    IdentifierGenerator createIdentifierGenerator(Dialect dialect,
                                                  String defaultCatalog,
                                                  String defaultSchema,
                                                  RootClass rootClass)
                                                  throws MappingException

  Throws:
    `MappingException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD