org.castor.cpa.persistence.convertor
Class AbstractTypeConvertor
java.lang.Object
org.castor.cpa.persistence.convertor.AbstractTypeConvertor
- All Implemented Interfaces:
- java.lang.Cloneable, TypeConvertor
- Direct Known Subclasses:
- AbstractDateTypeConvertor, AbstractLobTypeConvertor, AbstractSimpleTypeConvertor, BooleanToBigDecimal, BooleanToInteger, BooleanToShort, BooleanToString, StringToBoolean
public abstract class AbstractTypeConvertor
- extends java.lang.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(java.lang.Class fromType,
java.lang.Class toType)
Construct a Converter between given fromType an toType. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractTypeConvertor
public AbstractTypeConvertor(java.lang.Class fromType,
java.lang.Class toType)
- Construct a Converter between given fromType an toType.
- Parameters:
fromType - The type being converted from.toType - The type being converted to.
clone
public final java.lang.Object clone()
-
- Overrides:
clone in class java.lang.Object
fromType
public final java.lang.Class fromType()
-
toType
public final java.lang.Class toType()
-
toString
public final java.lang.String toString()
-
- Overrides:
toString in class java.lang.Object
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com