|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.castor.jdo.engine.SQLTypeConverters.Convertor
Abstract class to convert from one type to another.
| Constructor Summary | |
SQLTypeConverters.Convertor(java.lang.Class fromType,
java.lang.Class toType)
Construct a Converter between given fromType an toType. |
|
| Method Summary | |
abstract java.lang.Object |
convert(java.lang.Object obj,
java.lang.String pm)
Convert the object from one type to another. |
java.lang.Class |
fromType()
Get the type being converted from. |
java.lang.String |
toString()
|
java.lang.Class |
toType()
Get the type being converted to. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SQLTypeConverters.Convertor(java.lang.Class fromType,
java.lang.Class toType)
fromType - The type being converted from.toType - The type being converted to.| Method Detail |
public final java.lang.Class fromType()
public final java.lang.Class toType()
public abstract java.lang.Object convert(java.lang.Object obj,
java.lang.String pm)
convert in interface TypeConvertorobj - The object to convertpm - The parameter for the convertor (null if is not specified)
#convert(java.lang.Object, java.lang.String)public final java.lang.String toString()
Object.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||