当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
Value (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.mapping
Interface Value
- All Superinterfaces:
- Serializable
- All Known Subinterfaces:
- KeyValue
- All Known Implementing Classes:
- Collection, OneToMany, SimpleValue
- public interface Value
- extends Serializable
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
getColumnSpan
public int getColumnSpan()
getColumnIterator
public Iterator getColumnIterator()
getType
public Type getType()
throws MappingException
- Throws:
MappingException
getFetchMode
public FetchMode getFetchMode()
getTable
public Table getTable()
hasFormula
public boolean hasFormula()
isAlternateUniqueKey
public boolean isAlternateUniqueKey()
isNullable
public boolean isNullable()
getColumnUpdateability
public boolean[] getColumnUpdateability()
getColumnInsertability
public boolean[] getColumnInsertability()
createForeignKey
public void createForeignKey()
throws MappingException
- Throws:
MappingException
isSimpleValue
public boolean isSimpleValue()
isValid
public boolean isValid(Mapping mapping)
throws MappingException
- Throws:
MappingException
setTypeUsingReflection
public void setTypeUsingReflection(String className,
String propertyName)
throws MappingException
- Throws:
MappingException
accept
public Object accept(ValueVisitor visitor)