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

All Implemented Interfaces:
    Type

Direct Known Subclasses:
    ShortType, AbstractCharArrayType, AbstractBynaryType, TextType, ByteType, TimestampType, SerializableType, BinaryType, BigIntegerType, IntegerType, DbTimestampType, CharacterArrayType, ImmutableType, DateType, BigDecimalType, TimeZoneType, AdaptedImmutableType, MutableType, CalendarDateType, CharBooleanType, LocaleType, BooleanType, YesNoType, ClassType, StringType, PrimitiveType, NumericBooleanType, WrapperBinaryType, DoubleType, CharArrayType, TimeType, TrueFalseType, LongType, CurrencyType, CalendarType, CharacterType, FloatType

Superclass of single-column nullable types.
Method from org.hibernate.type.NullableType Summary:
fromStringValue,   fromXMLNode,   fromXMLString,   get,   getColumnSpan,   isDirty,   isEqual,   isEqual,   nullSafeGet,   nullSafeGet,   nullSafeGet,   nullSafeGet,   nullSafeSet,   nullSafeSet,   nullSafeSet,   nullSafeToString,   set,   setToXMLNode,   sqlType,   sqlTypes,   toColumnNullness,   toLoggableString,   toString,   toXMLString
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.NullableType Detail:
 abstract public Object fromStringValue(String xml) throws HibernateException
 public Object fromXMLNode(Node xml,
    Mapping factory) throws HibernateException 
 public final Object fromXMLString(String xml,
    Mapping factory) throws HibernateException 
 abstract public Object get(ResultSet rs,
    String name) throws HibernateException, SQLException
    Get a column value from a result set, without worrying about the possibility of null values. Called from #nullSafeGet after nullness checks have been performed.
 public final int getColumnSpan(Mapping session) 
 public boolean isDirty(Object old,
    Object current,
    boolean[] checkable,
    SessionImplementor session) throws HibernateException 
 public boolean isEqual(Object x,
    Object y) 
 public final boolean isEqual(Object x,
    Object y,
    EntityMode entityMode) 
 public final Object nullSafeGet(ResultSet rs,
    String[] names) throws HibernateException, SQLException 
 public final Object nullSafeGet(ResultSet rs,
    String name) throws HibernateException, SQLException 
 public final Object nullSafeGet(ResultSet rs,
    String[] names,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 public final Object nullSafeGet(ResultSet rs,
    String name,
    SessionImplementor session,
    Object owner) throws HibernateException, SQLException 
 public final  void nullSafeSet(PreparedStatement st,
    Object value,
    int index) throws HibernateException, SQLException 
 public final  void nullSafeSet(PreparedStatement st,
    Object value,
    int index,
    SessionImplementor session) throws HibernateException, SQLException 
 public final  void nullSafeSet(PreparedStatement st,
    Object value,
    int index,
    boolean[] settable,
    SessionImplementor session) throws HibernateException, SQLException 
 public String nullSafeToString(Object value) throws HibernateException 
    A null-safe version of #toString(Object) . Specifically we are worried about null safeness in regards to the incoming value parameter, not the return.
 abstract public  void set(PreparedStatement st,
    Object value,
    int index) throws HibernateException, SQLException
    Set a parameter value without worrying about the possibility of null values. Called from #nullSafeSet after nullness checks have been performed.
 public  void setToXMLNode(Node xml,
    Object value,
    SessionFactoryImplementor factory) throws HibernateException 
 abstract public int sqlType()
 public final int[] sqlTypes(Mapping session) 
 public boolean[] toColumnNullness(Object value,
    Mapping mapping) 
 public String toLoggableString(Object value,
    SessionFactoryImplementor factory) 
 abstract public String toString(Object value) throws HibernateException
 public final String toXMLString(Object value,
    SessionFactoryImplementor pc) throws HibernateException