org.castor.cpa.persistence.convertor
public abstract class AbstractTypeConvertor extends java.lang.Object implements TypeConvertor
Constructor and Description |
---|
AbstractTypeConvertor(java.lang.Class<?> fromType,
java.lang.Class<?> toType)
Construct a Converter between given fromType an toType.
|
Modifier and Type | Method and Description |
---|---|
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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
configure, convert, parameterize
public AbstractTypeConvertor(java.lang.Class<?> fromType, java.lang.Class<?> toType)
fromType
- The type being converted from.toType
- The type being converted to.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
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com