public class ShortTransformer extends Object implements PropertyTransformer<Short>
| Modifier and Type | Field and Description |
|---|---|
static ShortTransformer |
SHARED_INSTANCE
Shared instance of this transformer.
|
| Constructor and Description |
|---|
ShortTransformer() |
| Modifier and Type | Method and Description |
|---|---|
Short |
transform(String value,
Field field)
Transforms value to short
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformpublic static final ShortTransformer SHARED_INSTANCE
public Short transform(String value, Field field) throws TransformationException
transform in interface PropertyTransformer<Short>value - value that will be transformedfield - value will be assigned to this fieldTransformationException - if something went wrongCopyright © 2014–2015. All rights reserved.