public enum ExternalCGMElement extends java.lang.Enum<ExternalCGMElement>
Enum Constant and Description |
---|
APPLICATION_DATA |
MESSAGE |
UNUSED_0 |
Modifier and Type | Method and Description |
---|---|
static ExternalCGMElement |
getElement(int ec) |
int |
getElementCode() |
java.lang.String |
toString() |
static ExternalCGMElement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExternalCGMElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalCGMElement UNUSED_0
public static final ExternalCGMElement MESSAGE
public static final ExternalCGMElement APPLICATION_DATA
public static ExternalCGMElement[] values()
for (ExternalCGMElement c : ExternalCGMElement.values()) System.out.println(c);
public static ExternalCGMElement valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ExternalCGMElement getElement(int ec)
public int getElementCode()
public java.lang.String toString()
toString
in class java.lang.Enum<ExternalCGMElement>