Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » mapping » [javadoc | source]
org.hibernate.mapping
abstract public class: ToOne [javadoc | source]
java.lang.Object
   org.hibernate.mapping.SimpleValue
      org.hibernate.mapping.ToOne

All Implemented Interfaces:
    Fetchable, KeyValue

Direct Known Subclasses:
    ManyToOne, OneToOne

A simple-point association (ie. a reference to another entity).
Field Summary
protected  String referencedPropertyName     
protected  boolean unwrapProxy     
Constructor:
 protected ToOne(Table table) 
Method from org.hibernate.mapping.ToOne Summary:
accept,   createForeignKey,   getFetchMode,   getReferencedEntityName,   getReferencedPropertyName,   getType,   isEmbedded,   isLazy,   isTypeSpecified,   isUnwrapProxy,   isValid,   setEmbedded,   setFetchMode,   setLazy,   setReferencedEntityName,   setReferencedPropertyName,   setTypeUsingReflection,   setUnwrapProxy
Methods from org.hibernate.mapping.SimpleValue:
accept,   addColumn,   addFormula,   createForeignKey,   createForeignKeyOfEntity,   createIdentifierGenerator,   getColumnInsertability,   getColumnIterator,   getColumnSpan,   getColumnUpdateability,   getConstraintColumns,   getFetchMode,   getForeignKeyName,   getIdentifierGeneratorProperties,   getIdentifierGeneratorStrategy,   getNullValue,   getTable,   getType,   getTypeName,   getTypeParameters,   hasFormula,   isAlternateUniqueKey,   isCascadeDeleteEnabled,   isIdentityColumn,   isNullable,   isSimpleValue,   isTypeSpecified,   isUpdateable,   isValid,   setAlternateUniqueKey,   setCascadeDeleteEnabled,   setForeignKeyName,   setIdentifierGeneratorProperties,   setIdentifierGeneratorStrategy,   setNullValue,   setTable,   setTypeName,   setTypeParameters,   setTypeUsingReflection,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.mapping.ToOne Detail:
 public Object accept(ValueVisitor visitor) 
 abstract public  void createForeignKey() throws MappingException
 public FetchMode getFetchMode() 
 public String getReferencedEntityName() 
 public String getReferencedPropertyName() 
 abstract public Type getType() throws MappingException
 public boolean isEmbedded() 
 public boolean isLazy() 
 public boolean isTypeSpecified() 
 public boolean isUnwrapProxy() 
 public boolean isValid(Mapping mapping) throws MappingException 
 public  void setEmbedded(boolean embedded) 
 public  void setFetchMode(FetchMode fetchMode) 
 public  void setLazy(boolean lazy) 
 public  void setReferencedEntityName(String referencedEntityName) 
 public  void setReferencedPropertyName(String name) 
 public  void setTypeUsingReflection(String className,
    String propertyName) throws MappingException 
 public  void setUnwrapProxy(boolean unwrapProxy)