Class EnumToOrdinal
java.lang.Object
org.castor.cpa.persistence.convertor.AbstractTypeConvertor
org.castor.cpa.persistence.convertor.AbstractSimpleTypeConvertor
org.castor.cpa.persistence.convertor.EnumToOrdinal
- All Implemented Interfaces:
Cloneable
,TypeConvertor
,TypeConvertor
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.castor.cpa.persistence.convertor.AbstractSimpleTypeConvertor
configure, parameterize
Methods inherited from class org.castor.cpa.persistence.convertor.AbstractTypeConvertor
clone, fromType, toString, toType
-
Constructor Details
-
EnumToOrdinal
public EnumToOrdinal()Creates an instance of this class.
-
-
Method Details
-
convert
Convert the object from one type to another.- Parameters:
object
- The object to convert.- Returns:
- The converted object.
-