org.apache.cayenne.access.types
Class EnumTypeFactory

java.lang.Object
  extended by org.apache.cayenne.access.types.EnumTypeFactory
All Implemented Interfaces:
ExtendedTypeFactory

public class EnumTypeFactory
extends java.lang.Object
implements ExtendedTypeFactory

ExtendedTypeFactory for handling JDK 1.5 Enums.

Since:
3.0

Constructor Summary
EnumTypeFactory()
           
 
Method Summary
 ExtendedType getType(java.lang.Class<?> objectClass)
          Returns ExtendedType instance that can handle a given object class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumTypeFactory

public EnumTypeFactory()
Method Detail

getType

public ExtendedType getType(java.lang.Class<?> objectClass)
Description copied from interface: ExtendedTypeFactory
Returns ExtendedType instance that can handle a given object class. May return null indicating that the class can not be handled.

Specified by:
getType in interface ExtendedTypeFactory


Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.