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

Value (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.mapping
Interface Value

All Known Implementing Classes:
Collection, OneToMany, SimpleValue

public interface Value

A value is anything that is persisted by value, instead of by reference. It is essentially a Hibernate Type, together with zero or more columns. Values are wrapped by things with higher level semantics, for example properties, collections, classes.

Author:
Gavin King

Method Summary
 void createForeignKey()
           
 Iterator getColumnIterator()
           
 int getColumnSpan()
           
 Formula getFormula()
           
 int getOuterJoinFetchSetting()
           
 Table getTable()
           
 Type getType()
           
 boolean isNullable()
           
 boolean isSimpleValue()
           
 boolean isUnique()
           
 boolean isValid(Mapping mapping)
           
 

Method Detail

getColumnSpan

public int getColumnSpan()

getColumnIterator

public Iterator getColumnIterator()

getType

public Type getType()

getOuterJoinFetchSetting

public int getOuterJoinFetchSetting()

getTable

public Table getTable()

getFormula

public Formula getFormula()

isUnique

public boolean isUnique()

isNullable

public boolean isNullable()

createForeignKey

public void createForeignKey()

isSimpleValue

public boolean isSimpleValue()

isValid

public boolean isValid(Mapping mapping)
                throws MappingException
Throws:
MappingException