org.castor.cpa.persistence.convertor
Class AbstractTypeConvertor

java.lang.Object
  extended by org.castor.cpa.persistence.convertor.AbstractTypeConvertor
All Implemented Interfaces:
Cloneable, TypeConvertor
Direct Known Subclasses:
AbstractDateTypeConvertor, AbstractLobTypeConvertor, AbstractSimpleTypeConvertor, BooleanToBigDecimal, BooleanToInteger, BooleanToShort, BooleanToString, LongToCastorTime, StringToBoolean

public abstract class AbstractTypeConvertor
extends Object
implements TypeConvertor

Abstract base class to convert from one type to another.

Since:
1.1.3
Version:
$Revision: 7134 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Author:
Ralf Joachim

Constructor Summary
AbstractTypeConvertor(Class<?> fromType, Class<?> toType)
          Construct a Converter between given fromType an toType.
 
Method Summary
 Object clone()
          
 Class<?> fromType()
          
 String toString()
          
 Class<?> toType()
          
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.castor.cpa.persistence.convertor.TypeConvertor
configure, convert, parameterize
 

Constructor Detail

AbstractTypeConvertor

public AbstractTypeConvertor(Class<?> fromType,
                             Class<?> toType)
Construct a Converter between given fromType an toType.

Parameters:
fromType - The type being converted from.
toType - The type being converted to.
Method Detail

clone

public final Object clone()

Overrides:
clone in class Object

fromType

public final Class<?> fromType()


toType

public final Class<?> toType()


toString

public final String toString()

Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.