phenote.util
Enum TermLinkComparator.RelationshipEnum
java.lang.Object
java.lang.Enum<TermLinkComparator.RelationshipEnum>
phenote.util.TermLinkComparator.RelationshipEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TermLinkComparator.RelationshipEnum>
- Enclosing class:
- TermLinkComparator
public static enum TermLinkComparator.RelationshipEnum
- extends java.lang.Enum<TermLinkComparator.RelationshipEnum>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
IS_A
public static final TermLinkComparator.RelationshipEnum IS_A
PART_OF
public static final TermLinkComparator.RelationshipEnum PART_OF
PART_OF_
public static final TermLinkComparator.RelationshipEnum PART_OF_
DEVELOPS_FROM
public static final TermLinkComparator.RelationshipEnum DEVELOPS_FROM
START_STAGE
public static final TermLinkComparator.RelationshipEnum START_STAGE
END_STAGE
public static final TermLinkComparator.RelationshipEnum END_STAGE
values
public static final TermLinkComparator.RelationshipEnum[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TermLinkComparator.RelationshipEnum c : TermLinkComparator.RelationshipEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TermLinkComparator.RelationshipEnum valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
matches
boolean matches(java.lang.String name)
getName
public java.lang.String getName()
getIndex
public int getIndex()
getRelationshipEnum
public static TermLinkComparator.RelationshipEnum getRelationshipEnum(java.lang.String name)