Package org.apache.cayenne.access.types
Class EnumTypeFactory
java.lang.Object
org.apache.cayenne.access.types.EnumTypeFactory
- All Implemented Interfaces:
ExtendedTypeFactory
public class EnumTypeFactory extends Object implements ExtendedTypeFactory
ExtendedTypeFactory for handling Enum types.
- Since:
- 3.0
-
Constructor Summary
Constructors Constructor Description EnumTypeFactory() -
Method Summary
Modifier and Type Method Description ExtendedTypegetType(Class<?> objectClass)Returns ExtendedType instance that can handle a given object class.
-
Constructor Details
-
EnumTypeFactory
public EnumTypeFactory()
-
-
Method Details
-
getType
Description copied from interface:ExtendedTypeFactoryReturns ExtendedType instance that can handle a given object class. May return null indicating that the class can not be handled.- Specified by:
getTypein interfaceExtendedTypeFactory
-