public final class BooleanObjectMorpher extends AbstractObjectMorpher
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Boolean |
defaultValue |
| Constructor and Description |
|---|
BooleanObjectMorpher() |
BooleanObjectMorpher(java.lang.Boolean defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getDefaultValue()
Returns the default value for this Morpher.
|
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 BooleanObjectMorpher()
public BooleanObjectMorpher(java.lang.Boolean 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.lang.Boolean 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()
Morpher