public enum Side extends Enum<Side>
Java class for Side.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Side"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="active"/> <enumeration value="passive"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static Side |
fromValue(String v) |
String |
value() |
static Side |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Side ACTIVE
public static final Side PASSIVE
public static Side[] values()
for (Side c : Side.values()) System.out.println(c);
public static Side 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 © 2012–2022. All rights reserved.