public class LongAccessor extends Object implements PropertyAccessor<Long>
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
LongAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Long |
fromBytes(Class targetClass,
byte[] bytes)
From bytes.
|
Long |
fromString(Class targetClass,
String s)
Converts string representation to the data object whose type is T.
|
Long |
getCopy(Object object)
Gets copy of object
|
Long |
getInstance(Class<?> clazz) |
byte[] |
toBytes(Object object)
To bytes.
|
String |
toString(Object object)
Converts Object to String.
|
public final Long fromBytes(Class targetClass, byte[] bytes)
PropertyAccessorfromBytes in interface PropertyAccessor<Long>bytes - the bpublic final byte[] toBytes(Object object)
PropertyAccessortoBytes in interface PropertyAccessor<Long>object - the objectpublic final String toString(Object object)
PropertyAccessortoString in interface PropertyAccessor<Long>object - the objectpublic Long fromString(Class targetClass, String s)
PropertyAccessorfromString in interface PropertyAccessor<Long>s - the spublic Long getCopy(Object object)
PropertyAccessorgetCopy in interface PropertyAccessor<Long>public Long getInstance(Class<?> clazz)
getInstance in interface PropertyAccessor<Long>Copyright © 2015. All Rights Reserved.