org.nuiton.topia.generator
Enum ServiceTransformer.Primitive
java.lang.Object
java.lang.Enum<ServiceTransformer.Primitive>
org.nuiton.topia.generator.ServiceTransformer.Primitive
- All Implemented Interfaces:
- Serializable, Comparable<ServiceTransformer.Primitive>
- Enclosing class:
- ServiceTransformer
protected static enum ServiceTransformer.Primitive
- extends Enum<ServiceTransformer.Primitive>
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
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(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
NullPointerException - if the argument is null
getValue
public String getValue()
Copyright © 2004-2012 CodeLutin. All Rights Reserved.