public enum STOnOff extends Enum<STOnOff>
Java class for ST_OnOff.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_OnOff">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="true"/>
<enumeration value="false"/>
<enumeration value="on"/>
<enumeration value="off"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FALSE
False
|
OFF
False
|
ON
True
|
ONE
True
|
TRUE
True
|
ZERO
False
|
| Modifier and Type | Method and Description |
|---|---|
static STOnOff |
fromValue(String v) |
String |
value() |
static STOnOff |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static STOnOff[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STOnOff TRUE
public static final STOnOff FALSE
public static final STOnOff ON
public static final STOnOff OFF
public static final STOnOff ZERO
public static final STOnOff ONE
public static STOnOff[] values()
for (STOnOff c : STOnOff.values()) System.out.println(c);
public static STOnOff 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()
Copyright © 2007-2021. All Rights Reserved.