public enum ResourceState extends java.lang.Enum<ResourceState>
Java class for resourceState.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="resourceState"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="IN_SERVICE"/> <enumeration value="OUT_OF_SERVICE"/> <enumeration value="INVALID"/> <enumeration value="UNKNOWN"/> </restriction> </simpleType>
Enum Constant and Description |
---|
IN_SERVICE |
INVALID |
OUT_OF_SERVICE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ResourceState |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static ResourceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceState IN_SERVICE
public static final ResourceState OUT_OF_SERVICE
public static final ResourceState INVALID
public static final ResourceState UNKNOWN
public static ResourceState[] values()
for (ResourceState c : ResourceState.values()) System.out.println(c);
public static ResourceState 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 nullpublic java.lang.String value()
public static ResourceState fromValue(java.lang.String v)
Copyright © 2010 All Rights Reserved.