public enum Relationship extends Enum<Relationship> implements Serializable
| Enum Constant and Description |
|---|
PART_OF |
SELF |
VERSION_OF |
| 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 PART_OF
public static final Relationship SELF
public static final Relationship VERSION_OF
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 © 2020. All rights reserved.