com.jpattern.orm.persistor.type.ext
Class CharacterToStringWrapper

java.lang.Object
  extended by com.jpattern.orm.persistor.type.ext.CharacterToStringWrapper
All Implemented Interfaces:
ExtendedTypeWrapper<Character,String>, TypeWrapper<Character,String>

public class CharacterToStringWrapper
extends Object
implements ExtendedTypeWrapper<Character,String>

Author:
Francesco Cina' Apr 1, 2012

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

Constructor Detail

CharacterToStringWrapper

public CharacterToStringWrapper()
Method Detail

jdbcType

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

propertyType

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

wrap

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

unWrap

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

clone

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

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


Copyright © 2013. All Rights Reserved.