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

All Implemented Interfaces:
    AssociationType, AbstractComponentType, Type

Handles "any" mappings and the old deprecated "object" type
Nested Class Summary:
public static final class  AnyType.ObjectTypeCacheEntry   
Constructor:
 public AnyType() 
 public AnyType(Type metaType,
    Type identifierType) 
Method from org.hibernate.type.AnyType Summary:
assemble,   compare,   deepCopy,   disassemble,   fromXMLNode,   getAssociatedEntityName,   getAssociatedJoinable,   getCascadeStyle,   getColumnSpan,   getFetchMode,   getForeignKeyDirection,   getLHSPropertyName,   getName,   getOnCondition,   getPropertyNames,   getPropertyNullability,   getPropertyValue,   getPropertyValues,   getPropertyValues,   getRHSUniqueKeyPropertyName,   getReturnedClass,   getSubtypes,   hydrate,   isAlwaysDirtyChecked,   isAnyType,   isAssociationType,   isComponentType,   isDirty,   isEmbedded,   isEmbeddedInXML,   isMethodOf,   isModified,   isMutable,   isReferenceToPrimaryKey,   isSame,   nullSafeGet,   nullSafeGet,   nullSafeSet,   nullSafeSet,   replace,   resolve,   semiResolve,   setPropertyValues,   setToXMLNode,   sqlTypes,   toColumnNullness,   toLoggableString,   useLHSPrimaryKey
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.AnyType Detail:
 public Object assemble(Serializable cached,
    SessionImplementor session,
    Object owner) throws HibernateException 
 public int compare(Object x,
    Object y,
    EntityMode entityMode) 
 public Object deepCopy(Object value,
    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 String getAssociatedEntityName(SessionFactoryImplementor factory) throws MappingException 
 public Joinable getAssociatedJoinable(SessionFactoryImplementor factory) 
 public CascadeStyle getCascadeStyle(int i) 
 public int getColumnSpan(Mapping session) throws MappingException 
 public FetchMode getFetchMode(int i) 
 public ForeignKeyDirection getForeignKeyDirection() 
 public String getLHSPropertyName() 
 public String getName() 
 public String getOnCondition(String alias,
    SessionFactoryImplementor factory,
    Map enabledFilters) throws MappingException 
 public String[] getPropertyNames() 
 public boolean[] getPropertyNullability() 
 public Object getPropertyValue(Object component,
    int i,
    SessionImplementor session) throws HibernateException 
 public Object[] getPropertyValues(Object component,
    SessionImplementor session) throws HibernateException 
 public Object[] getPropertyValues(Object component,
    EntityMode entityMode) 
 public String getRHSUniqueKeyPropertyName() 
 public Class getReturnedClass() 
 public Type[] getSubtypes() 
 public Object hydrate(ResultSet rs,
    String[] names,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 public boolean isAlwaysDirtyChecked() 
 public boolean isAnyType() 
 public boolean isAssociationType() 
 public boolean isComponentType() 
 public boolean isDirty(Object old,
    Object current,
    boolean[] checkable,
    SessionImplementor session) throws HibernateException 
 public boolean isEmbedded() 
 public boolean isEmbeddedInXML() 
 public boolean isMethodOf(Method method) 
 public boolean isModified(Object old,
    Object current,
    boolean[] checkable,
    SessionImplementor session) throws HibernateException 
 public boolean isMutable() 
 public boolean isReferenceToPrimaryKey() 
 public boolean isSame(Object x,
    Object y,
    EntityMode entityMode) throws HibernateException 
 public Object nullSafeGet(ResultSet rs,
    String name,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 public Object nullSafeGet(ResultSet rs,
    String[] names,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 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 Object replace(Object original,
    Object target,
    SessionImplementor session,
    Object owner,
    Map copyCache) 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 xml,
    Object value,
    SessionFactoryImplementor factory) 
 public int[] sqlTypes(Mapping mapping) throws MappingException 
 public boolean[] toColumnNullness(Object value,
    Mapping mapping) 
 public String toLoggableString(Object value,
    SessionFactoryImplementor factory) throws HibernateException 
 public boolean useLHSPrimaryKey()