public class ShortConversion extends ObjectConversion<java.lang.Short>
| Constructor and Description |
|---|
ShortConversion()
Creates a Conversion from String to Short with default values to return when the input is null.
|
ShortConversion(java.lang.Short valueIfStringIsNull,
java.lang.String valueIfObjectIsNull)
Creates a Conversion from String to Short with default values to return when the input is null.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Short |
fromString(java.lang.String input)
Converts a String to Short.
|
execute, fromInput, getValueIfObjectIsNull, getValueIfStringIsNull, revert, setValueIfObjectIsNull, setValueIfStringIsNull, undogetValueOnNullInput, getValueOnNullOutput, setValueOnNullInput, setValueOnNullOutputpublic ShortConversion()
public ShortConversion(java.lang.Short valueIfStringIsNull,
java.lang.String valueIfObjectIsNull)
valueIfStringIsNull - default Short value to be returned when the input String is null. Used when ObjectConversion.execute(String) is invoked.valueIfObjectIsNull - default String value to be returned when a Short input is null. Used when revert(Short) is invoked.protected java.lang.Short fromString(java.lang.String input)
fromString in class ObjectConversion<java.lang.Short>input - The String to be converted to T