public enum LabelStatus extends Enum<LabelStatus>
Java class for Label.Status.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Label.Status">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ENABLED"/>
<enumeration value="REMOVED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ENABLED
The label is enabled.
|
REMOVED
The label has been removed.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static LabelStatus |
fromValue(String v) |
String |
value() |
static LabelStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelStatus ENABLED
public static final LabelStatus REMOVED
public static final LabelStatus UNKNOWN
public static LabelStatus[] values()
for (LabelStatus c : LabelStatus.values()) System.out.println(c);
public static LabelStatus 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 nullpublic String value()
public static LabelStatus fromValue(String v)
Copyright © 2023. All rights reserved.