org.pojava.persistence.adaptor
Class DoubleAdaptor

java.lang.Object
  extended by org.pojava.transformation.BindingAdaptor<Double,Double>
      extended by org.pojava.persistence.adaptor.DoubleAdaptor

public class DoubleAdaptor
extends org.pojava.transformation.BindingAdaptor<Double,Double>

Adaptor for managing translations for values of type double.

Author:
John Pile

Constructor Summary
DoubleAdaptor()
           
 
Method Summary
 org.pojava.lang.Binding<Double> inbound(org.pojava.lang.Binding<Double> inBinding)
          Translate the binding from the data source towards Java bean.
 Class<Double> inboundType()
          The type the translator will produce for the bean.
 org.pojava.lang.Binding<Double> outbound(org.pojava.lang.Binding<Double> outBinding)
          Translate the binding from the java bean to the data source.
 Class<Double> 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

DoubleAdaptor

public DoubleAdaptor()
Method Detail

inboundType

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

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

outboundType

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

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

inbound

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

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

outbound

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

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


Copyright © 2011. All Rights Reserved.