net.sf.ezmorph.object

Class BigIntegerMorpher

public final class BigIntegerMorpher extends AbstractObjectMorpher

Morphs to a BigInteger.

Author: Andres Almiray

Constructor Summary
BigIntegerMorpher()
BigIntegerMorpher(BigInteger defaultValue)
Method Summary
booleanequals(Object obj)
BigIntegergetDefaultValue()
Returns the default value for this Morpher.
protected StringgetIntegerValue(Object obj)
Trims the String from the begining to the first "."
inthashCode()
Objectmorph(Object value)
ClassmorphsTo()

Constructor Detail

BigIntegerMorpher

public BigIntegerMorpher()

BigIntegerMorpher

public BigIntegerMorpher(BigInteger defaultValue)

Parameters: defaultValue return value if the value to be morphed is null

Method Detail

equals

public boolean equals(Object obj)

getDefaultValue

public BigInteger getDefaultValue()
Returns the default value for this Morpher.

getIntegerValue

protected String getIntegerValue(Object obj)
Trims the String from the begining to the first "."

hashCode

public int hashCode()

morph

public Object morph(Object value)

morphsTo

public Class morphsTo()
Copyright © 2006-2011. All Rights Reserved.