Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » mapping » [javadoc | source]
org.hibernate.mapping
public interface: Value [javadoc | source]

All Implemented Interfaces:
    Serializable

All Known Implementing Classes:
    ManyToOne, SimpleValue, IdentifierCollection, Collection, Array, List, OneToOne, KeyValue, ToOne, Bag, QueryList, Map, IdentifierBag, IndexedCollection, OneToMany, Component, DependantValue, Any, PrimitiveArray, Set

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 from org.hibernate.mapping.Value Summary:
accept,   createForeignKey,   getColumnInsertability,   getColumnIterator,   getColumnSpan,   getColumnUpdateability,   getFetchMode,   getTable,   getType,   hasFormula,   isAlternateUniqueKey,   isNullable,   isSimpleValue,   isValid,   setTypeUsingReflection
Method from org.hibernate.mapping.Value Detail:
 public Object accept(ValueVisitor visitor)
 public  void createForeignKey() throws MappingException
 public boolean[] getColumnInsertability()
 public Iterator getColumnIterator()
 public int getColumnSpan()
 public boolean[] getColumnUpdateability()
 public FetchMode getFetchMode()
 public Table getTable()
 public Type getType() throws MappingException
 public boolean hasFormula()
 public boolean isAlternateUniqueKey()
 public boolean isNullable()
 public boolean isSimpleValue()
 public boolean isValid(Mapping mapping) throws MappingException
 public  void setTypeUsingReflection(String className,
    String propertyName) throws MappingException