private static enum Property.Attribute extends java.lang.Enum<Property.Attribute>
Modifier and Type | Method and Description |
---|---|
static Property.Attribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Property.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Property.Attribute CONSTANT
public static final Property.Attribute OPTIONAL
public static final Property.Attribute REQUIRED
public static Property.Attribute[] values()
for (Property.Attribute c : Property.Attribute.values()) System.out.println(c);
public static Property.Attribute 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