public enum RelationType extends java.lang.Enum<RelationType>
Enum Constant and Description |
---|
DERIVES_INTO |
HAS_EXTENSION |
IS_PREFIX_OF |
VARIATION |
Modifier and Type | Method and Description |
---|---|
static RelationType |
fromShortName(java.lang.String shortName) |
java.lang.String |
getLetter() |
int |
getOrder() |
java.lang.String |
getShortName() |
boolean |
isDirectional() |
boolean |
isSymetric() |
static RelationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationType VARIATION
public static final RelationType DERIVES_INTO
public static final RelationType IS_PREFIX_OF
public static final RelationType HAS_EXTENSION
public static RelationType[] values()
for (RelationType c : RelationType.values()) System.out.println(c);
public static RelationType 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 getLetter()
public int getOrder()
public boolean isDirectional()
public java.lang.String getShortName()
public boolean isSymetric()
public static RelationType fromShortName(java.lang.String shortName)