接口 Value
-
- 所有超级接口:
Serializable
- 所有已知子接口:
KeyValue
- 所有已知实现类:
Any,Array,Bag,Collection,Component,DependantValue,ExportableColumn.ValueImpl,IdentifierBag,IdentifierCollection,IndexedCollection,List,ManyToOne,Map,OneToMany,OneToOne,PrimitiveArray,Set,SimpleValue,ToOne
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.- 作者:
- Gavin King
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Objectaccept(ValueVisitor visitor)voidcreateForeignKey()boolean[]getColumnInsertability()Iterator<Selectable>getColumnIterator()intgetColumnSpan()boolean[]getColumnUpdateability()FetchModegetFetchMode()ServiceRegistrygetServiceRegistry()TablegetTable()TypegetType()booleanhasFormula()booleanisAlternateUniqueKey()booleanisNullable()booleanisSame(Value other)booleanisSimpleValue()booleanisValid(Mapping mapping)voidsetTypeUsingReflection(String className, String propertyName)
-
-
-
方法详细资料
-
getColumnSpan
int getColumnSpan()
-
getColumnIterator
Iterator<Selectable> getColumnIterator()
-
getType
Type getType() throws MappingException
- 抛出:
MappingException
-
getFetchMode
FetchMode getFetchMode()
-
getTable
Table getTable()
-
hasFormula
boolean hasFormula()
-
isAlternateUniqueKey
boolean isAlternateUniqueKey()
-
isNullable
boolean isNullable()
-
getColumnUpdateability
boolean[] getColumnUpdateability()
-
getColumnInsertability
boolean[] getColumnInsertability()
-
createForeignKey
void createForeignKey() throws MappingException- 抛出:
MappingException
-
isSimpleValue
boolean isSimpleValue()
-
isValid
boolean isValid(Mapping mapping) throws MappingException
- 抛出:
MappingException
-
setTypeUsingReflection
void setTypeUsingReflection(String className, String propertyName) throws MappingException
- 抛出:
MappingException
-
accept
Object accept(ValueVisitor visitor)
-
isSame
boolean isSame(Value other)
-
getServiceRegistry
ServiceRegistry getServiceRegistry()
-
-