Code example for BigInteger

Methods: compareTo

0
	public Class getReturnedClass() {
		return BigInteger.class;
	} 
 
	public boolean isEqual(Object x, Object y) {
		return x==y || ( x!=null && y!=null && ( (BigInteger) x ).compareTo( (BigInteger) y )==0 );
	} 
 
	public int getHashCode(Object x, EntityMode entityMode) {
		return ( (BigInteger) x ).intValue();
	} 
 
	public String getName() {
		return "big_integer"; 
	} 
 
	public Object fromStringValue(String xml) {
		return new BigInteger(xml);
	}