public enum GS1AI extends Enum<GS1AI>
| Enum Constant and Description |
|---|
apply |
applyWithSeparator |
noApply |
| Modifier and Type | Method and Description |
|---|---|
static GS1AI |
fromValue(int value)
Gets a GS1 Application Identifier from its byte value.
|
byte |
getCode()
Gets the byte value of the GS1 Application Identifier.
|
static String[] |
names()
Returns an array containing the names of the GS1 Application Identifier constants.
|
String |
toString()
Returns the string message of the GS1 Application Identifier.
|
static GS1AI |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GS1AI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GS1AI noApply
public static final GS1AI apply
public static final GS1AI applyWithSeparator
public static GS1AI[] values()
for (GS1AI c : GS1AI.values()) System.out.println(c);
public static GS1AI 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 byte getCode()
public String toString()
public static GS1AI fromValue(int value) throws IllegalArgumentException
value - The byte value of the GS1 Application Identifier.IllegalArgumentException - If the byte value does not correspond to any GS1 Application Identifier.public static String[] names()