Methods Summary |
---|
public java.lang.Object | assemble(java.io.Serializable cached, java.lang.Object owner)
return cached;
|
public java.lang.Object | deepCopy(java.lang.Object value)
return value;
|
public java.io.Serializable | disassemble(java.lang.Object value)
return ( Classification ) value;
|
public boolean | equals(java.lang.Object x, java.lang.Object y)
if ( x == null && y == null ) {
return false;
}
else if ( x != null ) {
return x.equals( y );
}
else {
return y.equals( x );
}
|
private java.lang.String | extractName(java.lang.Object obj)
return ( ( Classification ) obj ).name();
|
private int | extractOrdinal(java.lang.Object value)
return ( ( Classification ) value ).ordinal();
|
private java.lang.String | extractOrdinalString(java.lang.Object value)
return Integer.toString( extractOrdinal( value ) );
|
public java.lang.Object | fromXMLString(java.lang.String xmlValue)
return Classification.valueOf( xmlValue );
|
public int | hashCode(java.lang.Object x)
return x.hashCode();
|
public boolean | isMutable()
return false;
|
public java.lang.Object | nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, java.lang.Object owner)
Integer ordinal = ( Integer ) Hibernate.INTEGER.nullSafeGet( rs, names[0] );
return Classification.valueOf( ordinal );
|
public void | nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index)
Integer ordinal = value == null ? null : new Integer( ( ( Classification ) value ).ordinal() );
Hibernate.INTEGER.nullSafeSet( st, ordinal, index );
|
public java.lang.String | objectToSQLString(java.lang.Object value)
return extractOrdinalString( value );
|
public java.lang.Object | replace(java.lang.Object original, java.lang.Object target, java.lang.Object owner)
return original;
|
public java.lang.Class | returnedClass()
return Classification.class;
|
public int[] | sqlTypes()
return new int[] { Types.TINYINT };
|
public java.lang.String | toXMLString(java.lang.Object value)
return extractName( value );
|