org.pojava.persistence.adaptor
Class PassthroughAdaptor<I,O>

java.lang.Object
  extended by org.pojava.transformation.BindingAdaptor<I,O>
      extended by org.pojava.persistence.adaptor.PassthroughAdaptor<I,O>

public class PassthroughAdaptor<I,O>
extends org.pojava.transformation.BindingAdaptor<I,O>

Adaptor for values where no conversion is necessary.

Author:
John Pile

Constructor Summary
PassthroughAdaptor()
           
 
Method Summary
 org.pojava.lang.Binding<I> inbound(org.pojava.lang.Binding inBinding)
           
 Class<I> inboundType()
           
 org.pojava.lang.Binding<O> outbound(org.pojava.lang.Binding outBinding)
           
 Class<O> outboundType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassthroughAdaptor

public PassthroughAdaptor()
Method Detail

inbound

public org.pojava.lang.Binding<I> inbound(org.pojava.lang.Binding inBinding)
Specified by:
inbound in class org.pojava.transformation.BindingAdaptor<I,O>

outbound

public org.pojava.lang.Binding<O> outbound(org.pojava.lang.Binding outBinding)
Specified by:
outbound in class org.pojava.transformation.BindingAdaptor<I,O>

inboundType

public Class<I> inboundType()
Specified by:
inboundType in class org.pojava.transformation.BindingAdaptor<I,O>

outboundType

public Class<O> outboundType()
Specified by:
outboundType in class org.pojava.transformation.BindingAdaptor<I,O>


Copyright © 2011. All Rights Reserved.