net.sf.ezmorph.object

Class BigDecimalMorpher

public final class BigDecimalMorpher extends AbstractObjectMorpher

Morphs to a BigDecimal.

Author: Andres Almiray

Constructor Summary
BigDecimalMorpher()
BigDecimalMorpher(BigDecimal defaultValue)
Method Summary
booleanequals(Object obj)
BigDecimalgetDefaultValue()
Returns the default value for this Morpher.
inthashCode()
Objectmorph(Object value)
ClassmorphsTo()

Constructor Detail

BigDecimalMorpher

public BigDecimalMorpher()

BigDecimalMorpher

public BigDecimalMorpher(BigDecimal defaultValue)

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

Method Detail

equals

public boolean equals(Object obj)

getDefaultValue

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

hashCode

public int hashCode()

morph

public Object morph(Object value)

morphsTo

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