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

All Implemented Interfaces:
    Fetchable, KeyValue

A one-to-one association mapping
Fields inherited from org.hibernate.mapping.ToOne:
referencedPropertyName,  unwrapProxy
Constructor:
 public OneToOne(Table table,
    PersistentClass owner) throws MappingException 
Method from org.hibernate.mapping.OneToOne Summary:
accept,   createForeignKey,   getConstraintColumns,   getEntityName,   getForeignKeyType,   getIdentifier,   getPropertyName,   getType,   isConstrained,   isNullable,   setConstrained,   setEntityName,   setForeignKeyType,   setIdentifier,   setPropertyName
Methods from org.hibernate.mapping.ToOne:
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.OneToOne Detail:
 public Object accept(ValueVisitor visitor) 
 public  void createForeignKey() throws MappingException 
 public List getConstraintColumns() 
 public String getEntityName() 
 public ForeignKeyDirection getForeignKeyType() 
    Returns the foreignKeyType.
 public KeyValue getIdentifier() 
    Returns the identifier.
 public String getPropertyName() 
 public Type getType() throws MappingException 
 public boolean isConstrained() 
    Returns the constrained.
 public boolean isNullable() 
 public  void setConstrained(boolean constrained) 
    Sets the constrained.
 public  void setEntityName(String propertyName) 
 public  void setForeignKeyType(ForeignKeyDirection foreignKeyType) 
    Sets the foreignKeyType.
 public  void setIdentifier(KeyValue identifier) 
    Sets the identifier.
 public  void setPropertyName(String propertyName)