org.qi4j.api.type
Class EnumType

java.lang.Object
  extended by org.qi4j.api.type.ValueType
      extended by org.qi4j.api.type.EnumType
All Implemented Interfaces:
HasTypes

public final class EnumType
extends ValueType

Enum ValueType.


Field Summary
 
Fields inherited from class org.qi4j.api.type.ValueType
types
 
Constructor Summary
EnumType(java.lang.Class<?> type)
           
 
Method Summary
static boolean isEnum(java.lang.reflect.Type type)
           
static EnumType of(java.lang.Class<?> type)
           
 
Methods inherited from class org.qi4j.api.type.ValueType
isPrimitiveValue, isPrimitiveValueType, isPrimitiveValueType, mainType, toString, types
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumType

public EnumType(java.lang.Class<?> type)
Method Detail

isEnum

public static boolean isEnum(java.lang.reflect.Type type)

of

public static EnumType of(java.lang.Class<?> type)