net.sf.ezmorph.object

Class BooleanObjectMorpher

public final class BooleanObjectMorpher extends AbstractObjectMorpher

Morphs to a Boolean.

Author: Andres Almiray

Constructor Summary
BooleanObjectMorpher()
BooleanObjectMorpher(Boolean defaultValue)
Method Summary
booleanequals(Object obj)
BooleangetDefaultValue()
Returns the default value for this Morpher.
inthashCode()
Objectmorph(Object value)
ClassmorphsTo()

Constructor Detail

BooleanObjectMorpher

public BooleanObjectMorpher()

BooleanObjectMorpher

public BooleanObjectMorpher(Boolean defaultValue)

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

Method Detail

equals

public boolean equals(Object obj)

getDefaultValue

public Boolean 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.