public static enum GmAttributes.GmAttribute.Importance extends java.lang.Enum<GmAttributes.GmAttribute.Importance>
Enum Constant and Description |
---|
DEPRECATED
The attribute is deprecated and should not be used when creating new
items.
|
OPTIONAL
The attribute usually provides behavioral or other meta information for
the item it belongs to.
|
RECOMMENDED
The attribute is important for providing good quality for an item, but
the item is meaningful even if this attribute is not specified.
|
REQUIRED
The attribute is very important in defining the characteristics of an
item.
|
Modifier and Type | Method and Description |
---|---|
static GmAttributes.GmAttribute.Importance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GmAttributes.GmAttribute.Importance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GmAttributes.GmAttribute.Importance REQUIRED
public static final GmAttributes.GmAttribute.Importance RECOMMENDED
public static final GmAttributes.GmAttribute.Importance OPTIONAL
public static final GmAttributes.GmAttribute.Importance DEPRECATED
public static GmAttributes.GmAttribute.Importance[] values()
for (GmAttributes.GmAttribute.Importance c : GmAttributes.GmAttribute.Importance.values()) System.out.println(c);
public static GmAttributes.GmAttribute.Importance 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 null