|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.convertor.AbstractTypeConvertor
public abstract class AbstractTypeConvertor
Abstract base class to convert from one type to another.
| Constructor Summary | |
|---|---|
AbstractTypeConvertor(Class<?> fromType,
Class<?> toType)
Construct a Converter between given fromType an toType. |
|
| Method Summary | |
|---|---|
Object |
clone()
Creates and returns a copy of this object. |
Class<?> |
fromType()
Get the type being converted from. |
String |
toString()
|
Class<?> |
toType()
Get the type being converted to. |
| 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 |
|---|
public AbstractTypeConvertor(Class<?> fromType,
Class<?> toType)
fromType - The type being converted from.toType - The type being converted to.| Method Detail |
|---|
public final Object clone()
clone in class Objectpublic final Class<?> fromType()
public final Class<?> toType()
public final String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||