|
||||||||
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(java.lang.Class<?> fromType,
java.lang.Class<?> toType)
Construct a Converter between given fromType an toType. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
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 |
---|
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(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.Object clone()
clone
in class java.lang.Object
public final java.lang.Class<?> fromType()
public final java.lang.Class<?> toType()
public final java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |