org.castor.cpa.persistence.convertor
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
public class EnumToOrdinal
- extends AbstractSimpleTypeConvertor
|
Constructor Summary |
EnumToOrdinal()
Creates an instance of this class. |
EnumToOrdinal
public EnumToOrdinal()
- Creates an instance of this class.
convert
public Object convert(Object object)
- Convert the object from one type to another.
- Parameters:
object - The object to convert.
- Returns:
- The converted object.
Copyright © 2011. All Rights Reserved.