org.castor.jdo.engine
Class SQLTypeConverters.Convertor
java.lang.Objectorg.castor.jdo.engine.SQLTypeConverters.Convertor
- SQLTypeConverters
- TypeConvertor
public static abstract class SQLTypeConverters.Convertor
extends java.lang.Object
Abstract class to convert from one type to another.
Convertor(Class fromType, Class toType)- Construct a Converter between given fromType an toType.
|
abstract Object | convert(Object obj, String pm)-
|
Class | fromType()- Get the type being converted from.
|
String | toString()-
|
Class | toType()- Get the type being converted to.
|
Convertor
public Convertor(Class fromType,
Class toType) Construct a Converter between given fromType an toType.
fromType - The type being converted from.toType - The type being converted to.
fromType
public final Class fromType()
Get the type being converted from.
- The type being converted from.
toString
public final String toString()
java.lang.Object.toString()
toType
public final Class toType()
Get the type being converted to.
- The type being converted to.
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com