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

All Implemented Interfaces:
    AbstractComponentType, Type

Direct Known Subclasses:
    EmbeddedComponentType

Handles "component" mappings
Field Summary
protected final  int propertySpan     
protected final  EntityModeToTuplizerMapping tuplizerMapping     
Constructor:
 public ComponentType(ComponentMetamodel metamodel) 
Method from org.hibernate.type.ComponentType Summary:
assemble,   compare,   deepCopy,   disassemble,   fromXMLNode,   getCascadeStyle,   getColumnSpan,   getFetchMode,   getHashCode,   getHashCode,   getName,   getPropertyNames,   getPropertyNullability,   getPropertyValue,   getPropertyValue,   getPropertyValues,   getPropertyValues,   getReturnedClass,   getSubtypes,   hydrate,   instantiate,   instantiate,   isComponentType,   isDirty,   isDirty,   isEmbedded,   isEqual,   isEqual,   isMethodOf,   isModified,   isMutable,   isSame,   isXMLElement,   nullSafeGet,   nullSafeGet,   nullSafeSet,   nullSafeSet,   replace,   replace,   resolve,   semiResolve,   setPropertyValues,   setToXMLNode,   sqlTypes,   toColumnNullness,   toLoggableString
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.ComponentType Detail:
 public Object assemble(Serializable object,
    SessionImplementor session,
    Object owner) throws HibernateException 
 public int compare(Object x,
    Object y,
    EntityMode entityMode) 
 public Object deepCopy(Object component,
    EntityMode entityMode,
    SessionFactoryImplementor factory) throws HibernateException 
 public Serializable disassemble(Object value,
    SessionImplementor session,
    Object owner) throws HibernateException 
 public Object fromXMLNode(Node xml,
    Mapping factory) throws HibernateException 
 public CascadeStyle getCascadeStyle(int i) 
 public int getColumnSpan(Mapping mapping) throws MappingException 
 public FetchMode getFetchMode(int i) 
 public int getHashCode(Object x,
    EntityMode entityMode) 
 public int getHashCode(Object x,
    EntityMode entityMode,
    SessionFactoryImplementor factory) 
 public String getName() 
 public String[] getPropertyNames() 
 public boolean[] getPropertyNullability() 
 public Object getPropertyValue(Object component,
    int i,
    SessionImplementor session) throws HibernateException 
 public Object getPropertyValue(Object component,
    int i,
    EntityMode entityMode) throws HibernateException 
 public Object[] getPropertyValues(Object component,
    SessionImplementor session) throws HibernateException 
 public Object[] getPropertyValues(Object component,
    EntityMode entityMode) throws HibernateException 
 public Class getReturnedClass() 
 public Type[] getSubtypes() 
 public Object hydrate(ResultSet rs,
    String[] names,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 public Object instantiate(EntityMode entityMode) throws HibernateException 
    This method does not populate the component parent
 public Object instantiate(Object parent,
    SessionImplementor session) throws HibernateException 
 public final boolean isComponentType() 
 public boolean isDirty(Object x,
    Object y,
    SessionImplementor session) throws HibernateException 
 public boolean isDirty(Object x,
    Object y,
    boolean[] checkable,
    SessionImplementor session) throws HibernateException 
 public boolean isEmbedded() 
 public boolean isEqual(Object x,
    Object y,
    EntityMode entityMode) throws HibernateException 
 public boolean isEqual(Object x,
    Object y,
    EntityMode entityMode,
    SessionFactoryImplementor factory) throws HibernateException 
 public boolean isMethodOf(Method method) 
 public boolean isModified(Object old,
    Object current,
    boolean[] checkable,
    SessionImplementor session) throws HibernateException 
 public boolean isMutable() 
 public boolean isSame(Object x,
    Object y,
    EntityMode entityMode) throws HibernateException 
 public boolean isXMLElement() 
 public Object nullSafeGet(ResultSet rs,
    String[] names,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 public Object nullSafeGet(ResultSet rs,
    String name,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 public  void nullSafeSet(PreparedStatement st,
    Object value,
    int begin,
    SessionImplementor session) throws HibernateException, SQLException 
 public  void nullSafeSet(PreparedStatement st,
    Object value,
    int begin,
    boolean[] settable,
    SessionImplementor session) throws HibernateException, SQLException 
 public Object replace(Object original,
    Object target,
    SessionImplementor session,
    Object owner,
    Map copyCache) throws HibernateException 
 public Object replace(Object original,
    Object target,
    SessionImplementor session,
    Object owner,
    Map copyCache,
    ForeignKeyDirection foreignKeyDirection) throws HibernateException 
 public Object resolve(Object value,
    SessionImplementor session,
    Object owner) throws HibernateException 
 public Object semiResolve(Object value,
    SessionImplementor session,
    Object owner) throws HibernateException 
 public  void setPropertyValues(Object component,
    Object[] values,
    EntityMode entityMode) throws HibernateException 
 public  void setToXMLNode(Node node,
    Object value,
    SessionFactoryImplementor factory) throws HibernateException 
 public int[] sqlTypes(Mapping mapping) throws MappingException 
 public boolean[] toColumnNullness(Object value,
    Mapping mapping) 
 public String toLoggableString(Object value,
    SessionFactoryImplementor factory) throws HibernateException