站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

KeyValue (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.mapping
Interface KeyValue

All Superinterfaces:
Serializable, Value
All Known Implementing Classes:
SimpleValue

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

public void createForeignKeyOfEntity(String entityName)

isCascadeDeleteEnabled

public boolean isCascadeDeleteEnabled()

isIdentityColumn

public boolean isIdentityColumn(Dialect dialect)

getNullValue

public String getNullValue()

isUpdateable

public boolean isUpdateable()

createIdentifierGenerator

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