org.castor.cpa.persistence.convertor

Class AbstractTypeConvertor

Implemented Interfaces:
Cloneable, TypeConvertor, TypeConvertor
Known Direct 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.
Version:
$Revision: 7134 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Author:
Ralf Joachim
Since:
1.1.3

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()

Constructor Details

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 Details

clone

public final Object clone()
Specified by:
clone in interface TypeConvertor

fromType

public final Class fromType()
Specified by:
fromType in interface TypeConvertor

toString

public final String toString()

toType

public final Class toType()
Specified by:
toType in interface TypeConvertor

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com