public enum NodeType extends Enum<NodeType> implements Serializable
<xs:simpleType xmlns:ns="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NodeType">
<xs:restriction base="xs:string">
<xs:enumeration value="mn"/>
<xs:enumeration value="cn"/>
<xs:enumeration value="Monitor"/>
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Method and Description |
|---|---|
static NodeType |
convert(String value) |
static NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
xmlValue() |
public static final NodeType MN
public static final NodeType CN
public static final NodeType MONITOR
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType 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 xmlValue()
Copyright © 2014. All Rights Reserved.