Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » type » [javadoc | source]
org.hibernate.type
public class: ManyToOneType [javadoc | source]
java.lang.Object
   org.hibernate.type.AbstractType
      org.hibernate.type.EntityType
         org.hibernate.type.ManyToOneType

All Implemented Interfaces:
    AssociationType, Type

A many-to-one association to an entity.
Fields inherited from org.hibernate.type.EntityType:
uniqueKeyPropertyName,  isEmbeddedInXML
Constructor:
 public ManyToOneType(String className) 
 public ManyToOneType(String className,
    boolean lazy) 
 public ManyToOneType(String entityName,
    String uniqueKeyPropertyName,
    boolean lazy,
    boolean unwrapProxy,
    boolean isEmbeddedInXML,
    boolean ignoreNotFound) 
Method from org.hibernate.type.ManyToOneType Summary:
assemble,   beforeAssemble,   disassemble,   getColumnSpan,   getForeignKeyDirection,   hydrate,   isAlwaysDirtyChecked,   isDirty,   isDirty,   isModified,   isNullable,   isOneToOne,   nullSafeSet,   nullSafeSet,   sqlTypes,   toColumnNullness,   useLHSPrimaryKey
Methods from org.hibernate.type.EntityType:
compare,   deepCopy,   fromXMLNode,   getAssociatedEntityName,   getAssociatedEntityName,   getAssociatedJoinable,   getHashCode,   getIdentifier,   getIdentifierOrUniqueKeyPropertyName,   getIdentifierOrUniqueKeyType,   getIdentifierType,   getIdentifierType,   getLHSPropertyName,   getName,   getOnCondition,   getPropertyName,   getRHSUniqueKeyPropertyName,   getReturnedClass,   getSemiResolvedType,   isAssociationType,   isEmbeddedInXML,   isEntityType,   isEqual,   isMutable,   isNotEmbedded,   isNull,   isNullable,   isOneToOne,   isReferenceToPrimaryKey,   isSame,   isXMLElement,   loadByUniqueKey,   nullSafeGet,   nullSafeGet,   replace,   resolve,   resolveIdentifier,   setToXMLNode,   toLoggableString,   toString
Methods from org.hibernate.type.AbstractType:
assemble,   beforeAssemble,   compare,   disassemble,   getHashCode,   getHashCode,   getSemiResolvedType,   hydrate,   isAnyType,   isAssociationType,   isCollectionType,   isComponentType,   isDirty,   isEntityType,   isEqual,   isEqual,   isModified,   isSame,   isXMLElement,   replace,   replaceNode,   resolve,   semiResolve
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.type.ManyToOneType Detail:
 public Object assemble(Serializable oid,
    SessionImplementor session,
    Object owner) throws HibernateException 
 public  void beforeAssemble(Serializable oid,
    SessionImplementor session) 
 public Serializable disassemble(Object value,
    SessionImplementor session,
    Object owner) throws HibernateException 
 public int getColumnSpan(Mapping mapping) throws MappingException 
 public ForeignKeyDirection getForeignKeyDirection() 
 public Object hydrate(ResultSet rs,
    String[] names,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 public boolean isAlwaysDirtyChecked() 
 public boolean isDirty(Object old,
    Object current,
    SessionImplementor session) throws HibernateException 
 public boolean isDirty(Object old,
    Object current,
    boolean[] checkable,
    SessionImplementor session) throws HibernateException 
 public boolean isModified(Object old,
    Object current,
    boolean[] checkable,
    SessionImplementor session) throws HibernateException 
 protected boolean isNullable() 
 public boolean isOneToOne() 
 public  void nullSafeSet(PreparedStatement st,
    Object value,
    int index,
    SessionImplementor session) throws HibernateException, SQLException 
 public  void nullSafeSet(PreparedStatement st,
    Object value,
    int index,
    boolean[] settable,
    SessionImplementor session) throws HibernateException, SQLException 
 public int[] sqlTypes(Mapping mapping) throws MappingException 
 public boolean[] toColumnNullness(Object value,
    Mapping mapping) 
 public boolean useLHSPrimaryKey()