com.jpattern.orm.persistor.type.jdbc
Class StringNullWrapper

java.lang.Object
  extended by com.jpattern.orm.persistor.type.jdbc.StringNullWrapper
All Implemented Interfaces:
TypeWrapper<String,String>

public class StringNullWrapper
extends Object
implements TypeWrapper<String,String>


Constructor Summary
StringNullWrapper()
           
 
Method Summary
 String clone(String source)
          Return a new instance equivalent to the source
 Class<String> jdbcType()
           
 Class<String> propertyType()
           
 String unWrap(String value)
           
 String wrap(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringNullWrapper

public StringNullWrapper()
Method Detail

jdbcType

public Class<String> jdbcType()
Specified by:
jdbcType in interface TypeWrapper<String,String>

propertyType

public Class<String> propertyType()
Specified by:
propertyType in interface TypeWrapper<String,String>

wrap

public String wrap(String value)
Specified by:
wrap in interface TypeWrapper<String,String>

unWrap

public String unWrap(String value)
Specified by:
unWrap in interface TypeWrapper<String,String>

clone

public String clone(String source)
Description copied from interface: TypeWrapper
Return a new instance equivalent to the source

Specified by:
clone in interface TypeWrapper<String,String>
Returns:


Copyright © 2013. All Rights Reserved.