public static enum Prio.Type extends Enum<Prio.Type>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:restriction base="xs:string">
<xs:enumeration value="NORMAL"/>
<xs:enumeration value="HIGH"/>
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Method and Description |
|---|---|
static Prio.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Prio.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Prio.Type NORMAL
public static final Prio.Type HIGH
public static Prio.Type[] values()
for (Prio.Type c : Prio.Type.values()) System.out.println(c);
public static Prio.Type 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 nullCopyright © 2016. All Rights Reserved.