Morpher
, ObjectMorpher
public final class BooleanObjectMorpher extends AbstractObjectMorpher
Constructor | Description |
---|---|
BooleanObjectMorpher() |
|
BooleanObjectMorpher(Boolean defaultValue) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
Boolean |
getDefaultValue() |
Returns the default value for this Morpher.
|
int |
hashCode() |
|
Object |
morph(Object value) |
Morphs the input object into an output object of the supported type.
|
Class |
morphsTo() |
Returns the target Class for conversion.
|
isUseDefault, setUseDefault, supports
public BooleanObjectMorpher()
public BooleanObjectMorpher(Boolean defaultValue)
defaultValue
- return value if the value to be morphed is nullpublic Boolean getDefaultValue()
public Object morph(Object value)
ObjectMorpher
value
- The input value to be morphedCopyright © 2006–2019. All rights reserved.