Methods Summary |
---|
public int | compare(java.lang.Object x, java.lang.Object y, org.hibernate.EntityMode entityMode)
return ( (TimeZone) x ).getID().compareTo( ( (TimeZone) y ).getID() );
|
public java.lang.Object | fromStringValue(java.lang.String xml)
return TimeZone.getTimeZone(xml);
|
public java.lang.Object | get(java.sql.ResultSet rs, java.lang.String name)
String id = (String) Hibernate.STRING.nullSafeGet(rs, name);
return (id==null) ? null : TimeZone.getTimeZone(id);
|
public java.lang.String | getName()
return "timezone";
|
public java.lang.Class | getReturnedClass()
return TimeZone.class;
|
public java.lang.String | objectToSQLString(java.lang.Object value, org.hibernate.dialect.Dialect dialect)
return ( (LiteralType) Hibernate.STRING ).objectToSQLString(
( (TimeZone) value ).getID(), dialect
);
|
public void | set(java.sql.PreparedStatement st, java.lang.Object value, int index)
Hibernate.STRING.set(st, ( (TimeZone) value ).getID(), index);
|
public int | sqlType()
return Hibernate.STRING.sqlType();
|
public java.lang.String | toString(java.lang.Object value)
return ( (TimeZone) value ).getID();
|