public enum Relationship extends java.lang.Enum<Relationship> implements io.micronaut.core.naming.Named, java.lang.CharSequence
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
java.lang.String |
getName() |
int |
length() |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
static Relationship |
valueOf(java.lang.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 SELF
public static final Relationship CREATE
public static final Relationship PREVIEW
public static final Relationship DIFF
public static Relationship[] values()
for (Relationship c : Relationship.values()) System.out.println(c);
public static Relationship 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 null@NonNull public java.lang.String getName()
getName
in interface io.micronaut.core.naming.Named
public int length()
length
in interface java.lang.CharSequence
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Enum<Relationship>