Package org.hibernate.mapping
Interface Value
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
KeyValue
- All Known Implementing Classes:
Any,Array,Bag,Collection,Component,DependantValue,IdentifierBag,IdentifierCollection,IndexedCollection,List,ManyToOne,Map,OneToMany,OneToOne,PrimitiveArray,Set,SimpleValue,ToOne
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.
-
Method Summary
Modifier and TypeMethodDescriptionaccept(ValueVisitor visitor) voidboolean[]intboolean[]getTable()getType()booleanbooleanbooleanbooleanbooleanvoidsetTypeUsingReflection(String className, String propertyName)
-
Method Details
-
getColumnSpan
int getColumnSpan() -
getColumnIterator
Iterator getColumnIterator() -
getType
- Throws:
MappingException
-
getFetchMode
FetchMode getFetchMode() -
getTable
Table getTable() -
hasFormula
boolean hasFormula() -
isAlternateUniqueKey
boolean isAlternateUniqueKey() -
isNullable
boolean isNullable() -
getColumnUpdateability
boolean[] getColumnUpdateability() -
getColumnInsertability
boolean[] getColumnInsertability() -
createForeignKey
- Throws:
MappingException
-
isSimpleValue
boolean isSimpleValue() -
isValid
- Throws:
MappingException
-
setTypeUsingReflection
- Throws:
MappingException
-
accept
-