org.nuiton.topia.generator
Enum ServiceTransformer.Primitive

java.lang.Object
  extended by java.lang.Enum<ServiceTransformer.Primitive>
      extended by org.nuiton.topia.generator.ServiceTransformer.Primitive
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ServiceTransformer.Primitive>
Enclosing class:
ServiceTransformer

protected static enum ServiceTransformer.Primitive
extends java.lang.Enum<ServiceTransformer.Primitive>


Enum Constant Summary
BOOLEAN
           
BYTE
           
CHAR
           
DOUBLE
           
FLOAT
           
INT
           
LONG
           
SHORT
           
 
Method Summary
 java.lang.String getValue()
           
static ServiceTransformer.Primitive valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ServiceTransformer.Primitive[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BYTE

public static final ServiceTransformer.Primitive BYTE

SHORT

public static final ServiceTransformer.Primitive SHORT

INT

public static final ServiceTransformer.Primitive INT

LONG

public static final ServiceTransformer.Primitive LONG

FLOAT

public static final ServiceTransformer.Primitive FLOAT

DOUBLE

public static final ServiceTransformer.Primitive DOUBLE

CHAR

public static final ServiceTransformer.Primitive CHAR

BOOLEAN

public static final ServiceTransformer.Primitive BOOLEAN
Method Detail

values

public static ServiceTransformer.Primitive[] 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 (ServiceTransformer.Primitive c : ServiceTransformer.Primitive.values())
    System.out.println(c);

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

valueOf

public static ServiceTransformer.Primitive 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

getValue

public java.lang.String getValue()


Copyright © 2004-2010 CodeLutin. All Rights Reserved.