Package org.smallmind.phalanx.wire
Enum BuiltInType
- java.lang.Object
-
- java.lang.Enum<BuiltInType>
-
- org.smallmind.phalanx.wire.BuiltInType
-
- All Implemented Interfaces:
Serializable,Comparable<BuiltInType>
public enum BuiltInType extends Enum<BuiltInType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()static BuiltInTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BuiltInType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final BuiltInType BOOLEAN
-
BYTE
public static final BuiltInType BYTE
-
U_BYTE
public static final BuiltInType U_BYTE
-
SHORT
public static final BuiltInType SHORT
-
U_SHORT
public static final BuiltInType U_SHORT
-
INTEGER
public static final BuiltInType INTEGER
-
U_INTEGER
public static final BuiltInType U_INTEGER
-
LONG
public static final BuiltInType LONG
-
U_LONG
public static final BuiltInType U_LONG
-
FLOAT
public static final BuiltInType FLOAT
-
DOUBLE
public static final BuiltInType DOUBLE
-
CHARACTER
public static final BuiltInType CHARACTER
-
STRING
public static final BuiltInType STRING
-
DATE
public static final BuiltInType DATE
-
VOID
public static final BuiltInType VOID
-
FAULT
public static final BuiltInType FAULT
-
OBJECT
public static final BuiltInType OBJECT
-
-
Method Detail
-
values
public static BuiltInType[] 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 (BuiltInType c : BuiltInType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuiltInType 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 nameNullPointerException- if the argument is null
-
getCode
public String getCode()
-
-