public final class BigIntegerMorpher extends AbstractObjectMorpher
| Modifier and Type | Field and Description |
|---|---|
private java.math.BigInteger |
defaultValue |
| Constructor and Description |
|---|
BigIntegerMorpher() |
BigIntegerMorpher(java.math.BigInteger defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.math.BigInteger |
getDefaultValue()
Returns the default value for this Morpher.
|
protected java.lang.String |
getIntegerValue(java.lang.Object obj)
Trims the String from the begining to the first "."
|
int |
hashCode() |
java.lang.Object |
morph(java.lang.Object value)
Morphs the input object into an output object of the supported type.
|
java.lang.Class |
morphsTo()
Returns the target Class for conversion.
|
isUseDefault, setUseDefault, supportspublic BigIntegerMorpher()
public BigIntegerMorpher(java.math.BigInteger defaultValue)
defaultValue - return value if the value to be morphed is nullpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.math.BigInteger getDefaultValue()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object morph(java.lang.Object value)
ObjectMorphervalue - The input value to be morphedpublic java.lang.Class morphsTo()
Morpherprotected java.lang.String getIntegerValue(java.lang.Object obj)