org.LexGrid.LexBIG.cagrid.iso21090.converter
Class AbstractCustomConverter<A,B>

java.lang.Object
  extended by org.LexGrid.LexBIG.cagrid.iso21090.converter.AbstractCustomConverter<A,B>
Direct Known Subclasses:
BooleanBlCustomConverter, DateToTsCustomConverter, IntegerIntCustomConverter, StringStCustomConverter

public abstract class AbstractCustomConverter<A,B>
extends java.lang.Object


Constructor Summary
AbstractCustomConverter()
           
 
Method Summary
protected abstract  B aToB(A a)
           
protected abstract  A bToA(B b)
           
 java.lang.Object convert(java.lang.Object destination, java.lang.Object source, java.lang.Class<?> destClass, java.lang.Class<?> sourceClass)
           
protected abstract  java.lang.Class<?> getAClass()
           
protected abstract  java.lang.Class<?> getBClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCustomConverter

public AbstractCustomConverter()
Method Detail

convert

public java.lang.Object convert(java.lang.Object destination,
                                java.lang.Object source,
                                java.lang.Class<?> destClass,
                                java.lang.Class<?> sourceClass)

aToB

protected abstract B aToB(A a)

bToA

protected abstract A bToA(B b)

getAClass

protected abstract java.lang.Class<?> getAClass()

getBClass

protected abstract java.lang.Class<?> getBClass()

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.