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