JTools

org.jtools.dao.invocation
Enum ParamType

java.lang.Object
  extended by java.lang.Enum<ParamType>
      extended by org.jtools.dao.invocation.ParamType
All Implemented Interfaces:
Serializable, Comparable<ParamType>

public enum ParamType
extends Enum<ParamType>


Enum Constant Summary
ANNOTATION
           
CLASS
           
ENUM
           
OBJECT
           
PRIMITIVE
           
STRING
           
 
Method Summary
static int getMoreSpecific(Class o1, Class o2)
           
static ParamType valueOf(Class x)
           
static ParamType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParamType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ENUM

public static final ParamType ENUM

PRIMITIVE

public static final ParamType PRIMITIVE

CLASS

public static final ParamType CLASS

STRING

public static final ParamType STRING

OBJECT

public static final ParamType OBJECT

ANNOTATION

public static final ParamType ANNOTATION
Method Detail

values

public static final ParamType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ParamType c : ParamType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ParamType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

valueOf

public static ParamType valueOf(Class x)

getMoreSpecific

public static int getMoreSpecific(Class o1,
                                  Class o2)

JTools

© 2000-2006, JTools.org.