public enum Relationship extends Enum<Relationship>
Java class for relationship.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="relationship">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="cumulative"/>
<enumeration value="non-cumulative"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUMULATIVE |
NON_CUMULATIVE |
| Modifier and Type | Method and Description |
|---|---|
static Relationship |
fromValue(String v) |
String |
value() |
static Relationship |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relationship CUMULATIVE
public static final Relationship NON_CUMULATIVE
public static Relationship[] values()
for (Relationship c : Relationship.values()) System.out.println(c);
public static Relationship 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 Relationship fromValue(String v)
Copyright © 2017 JBoss by Red Hat. All rights reserved.