public enum Truncate extends Enum<Truncate> implements IEnumType
| Enum Constant and Description |
|---|
EntireEPC |
PartialEPC |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get the enum code value
|
String |
toString()
Return the name of the enum
|
static Truncate |
valueOf(int code) |
static Truncate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Truncate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Truncate EntireEPC
public static final Truncate PartialEPC
public static Truncate[] values()
for (Truncate c : Truncate.values()) System.out.println(c);
public static Truncate valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
IEnumTypepublic String toString()
IEnumTypepublic static Truncate valueOf(int code)