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
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 Details

    • createForeignKeyOfEntity

      ForeignKey createForeignKeyOfEntity(String entityName)
    • isCascadeDeleteEnabled

      boolean isCascadeDeleteEnabled()
    • getNullValue

      String getNullValue()
    • isUpdateable

      boolean isUpdateable()
    • createGenerator

      Generator createGenerator(Dialect dialect, RootClass rootClass)