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