public static enum Meta.Model extends java.lang.Enum<Meta.Model>
Enum Constant and Description |
---|
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Meta.Model |
fromCode(int code) |
int |
getCode() |
static Meta.Model |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Meta.Model[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Meta.Model UNKNOWN
public static Meta.Model[] values()
for (Meta.Model c : Meta.Model.values()) System.out.println(c);
public static Meta.Model 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 int getCode()
public static Meta.Model fromCode(int code)