com.jpattern.orm.persistor.type.jdbc
Class BytesNullWrapper
java.lang.Object
com.jpattern.orm.persistor.type.jdbc.BytesNullWrapper
- All Implemented Interfaces:
- TypeWrapper<byte[],byte[]>
public class BytesNullWrapper
- extends Object
- implements TypeWrapper<byte[],byte[]>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytesNullWrapper
public BytesNullWrapper()
jdbcType
public Class<byte[]> jdbcType()
- Specified by:
jdbcType in interface TypeWrapper<byte[],byte[]>
propertyType
public Class<byte[]> propertyType()
- Specified by:
propertyType in interface TypeWrapper<byte[],byte[]>
wrap
public byte[] wrap(byte[] value)
- Specified by:
wrap in interface TypeWrapper<byte[],byte[]>
unWrap
public byte[] unWrap(byte[] value)
- Specified by:
unWrap in interface TypeWrapper<byte[],byte[]>
clone
public byte[] clone(byte[] source)
- Description copied from interface:
TypeWrapper
- Return a new instance equivalent to the source
- Specified by:
clone in interface TypeWrapper<byte[],byte[]>
- Returns:
Copyright © 2013. All Rights Reserved.