gr.uoa.di.madgik.commons.configuration.parameter
Enum IParameter.ParameterType

java.lang.Object
  extended by java.lang.Enum<IParameter.ParameterType>
      extended by gr.uoa.di.madgik.commons.configuration.parameter.IParameter.ParameterType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IParameter.ParameterType>
Enclosing interface:
IParameter

public static enum IParameter.ParameterType
extends java.lang.Enum<IParameter.ParameterType>

The type of parameters tat can be declared and instnatiated. The primitive types are distinguished in bothe their boxed an unboxed representations as the java platform treats them differntly and a boxed value cannot be used in a method that needs an unboxed value and vise-versa


Enum Constant Summary
BooleanClass
          Boolean boxed type
BooleanPrimitive
          Boolean unboxed type
ByteClass
          Byte boxed type
BytePrimitive
          Byte unboxed type
DoubleClass
          Double boxed type
DoublePrimitive
          Double unboxed type
FloatClass
          Float boxed type
FloatPrimitive
          Float unboxed type
IntegerClass
          Integer boxed type
IntegerPrimitive
          Integer unboxed type
LongClass
          Long boxed type
LongPrimitive
          Long unboxed type
Object
          Object type
ShortClass
          Short boxed type
ShortPrimitive
          Short unboxed type
String
          String type
XML
          XML type
 
Method Summary
static IParameter.ParameterType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IParameter.ParameterType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IntegerClass

public static final IParameter.ParameterType IntegerClass
Integer boxed type


IntegerPrimitive

public static final IParameter.ParameterType IntegerPrimitive
Integer unboxed type


FloatClass

public static final IParameter.ParameterType FloatClass
Float boxed type


FloatPrimitive

public static final IParameter.ParameterType FloatPrimitive
Float unboxed type


DoubleClass

public static final IParameter.ParameterType DoubleClass
Double boxed type


DoublePrimitive

public static final IParameter.ParameterType DoublePrimitive
Double unboxed type


ShortClass

public static final IParameter.ParameterType ShortClass
Short boxed type


ShortPrimitive

public static final IParameter.ParameterType ShortPrimitive
Short unboxed type


LongClass

public static final IParameter.ParameterType LongClass
Long boxed type


LongPrimitive

public static final IParameter.ParameterType LongPrimitive
Long unboxed type


BooleanClass

public static final IParameter.ParameterType BooleanClass
Boolean boxed type


BooleanPrimitive

public static final IParameter.ParameterType BooleanPrimitive
Boolean unboxed type


ByteClass

public static final IParameter.ParameterType ByteClass
Byte boxed type


BytePrimitive

public static final IParameter.ParameterType BytePrimitive
Byte unboxed type


String

public static final IParameter.ParameterType String
String type


XML

public static final IParameter.ParameterType XML
XML type


Object

public static final IParameter.ParameterType Object
Object type

Method Detail

values

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

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

valueOf

public static IParameter.ParameterType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null