org.pojava.persistence.adaptor
Class CharAdaptor

java.lang.Object
  extended by org.pojava.transformation.BindingAdaptor<Character,Character>
      extended by org.pojava.persistence.adaptor.CharAdaptor

public class CharAdaptor
extends org.pojava.transformation.BindingAdaptor<Character,Character>

Adaptor for managing Java to JDBC for a Character value.

Author:
John Pile

Constructor Summary
CharAdaptor()
           
 
Method Summary
 org.pojava.lang.Binding<Character> inbound(org.pojava.lang.Binding<Character> inBinding)
          Translate the binding from the data source towards Java bean.
 Class<Character> inboundType()
          The type the translator will produce for the bean.
 org.pojava.lang.Binding<Character> outbound(org.pojava.lang.Binding<Character> outBinding)
          Translate the binding from the java bean to the data source.
 Class<Character> outboundType()
          The type the translator will produce for the JDBC driver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharAdaptor

public CharAdaptor()
Method Detail

inboundType

public Class<Character> inboundType()
The type the translator will produce for the bean.

Specified by:
inboundType in class org.pojava.transformation.BindingAdaptor<Character,Character>

outboundType

public Class<Character> outboundType()
The type the translator will produce for the JDBC driver.

Specified by:
outboundType in class org.pojava.transformation.BindingAdaptor<Character,Character>

inbound

public org.pojava.lang.Binding<Character> inbound(org.pojava.lang.Binding<Character> inBinding)
Translate the binding from the data source towards Java bean.

Specified by:
inbound in class org.pojava.transformation.BindingAdaptor<Character,Character>

outbound

public org.pojava.lang.Binding<Character> outbound(org.pojava.lang.Binding<Character> outBinding)
Translate the binding from the java bean to the data source.

Specified by:
outbound in class org.pojava.transformation.BindingAdaptor<Character,Character>


Copyright © 2011. All Rights Reserved.