1 package org.hibernate.mapping; 3 4 import java.io.Serializable ; 5 import java.util.Iterator ; 6 7 import org.hibernate.FetchMode; 8 import org.hibernate.MappingException; 9 import org.hibernate.engine.Mapping; 10 import org.hibernate.type.Type; 11 12 21 public interface Value extends Serializable { 22 public int getColumnSpan(); 23 public Iterator getColumnIterator(); 24 public Type getType() throws MappingException; 25 public FetchMode getFetchMode(); 26 public Table getTable(); 27 public boolean hasFormula(); 28 public boolean isAlternateUniqueKey(); 29 public boolean isNullable(); 30 public boolean[] getColumnUpdateability(); 31 public boolean[] getColumnInsertability(); 32 public void createForeignKey() throws MappingException; 33 public boolean isSimpleValue(); 34 public boolean isValid(Mapping mapping) throws MappingException; 35 public void setTypeUsingReflection(String className, String propertyName) throws MappingException; 36 public Object accept(ValueVisitor visitor); 37 } | Popular Tags |