phenote.datamodel
Enum RelationshipEnumeration

java.lang.Object
  extended by java.lang.Enum<RelationshipEnumeration>
      extended by phenote.datamodel.RelationshipEnumeration
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RelationshipEnumeration>

public enum RelationshipEnumeration
extends java.lang.Enum<RelationshipEnumeration>

Created by IntelliJ IDEA. User: Christian Pich Date: Nov 30, 2006 Time: 3:19:18 PM To change this template use File | Settings | File Templates.


Enum Constant Summary
DEVELOPS_FROM
           
END_STAGE
           
IS_A
           
PART_OF
           
PART_OF_
           
START_STAGE
           
 
Method Summary
 int getIndex()
           
 java.lang.String getName()
           
static RelationshipEnumeration getRelationshipEnum(java.lang.String name)
           
(package private)  boolean matches(java.lang.String name)
           
static RelationshipEnumeration valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RelationshipEnumeration[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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
 

Enum Constant Detail

IS_A

public static final RelationshipEnumeration IS_A

PART_OF

public static final RelationshipEnumeration PART_OF

PART_OF_

public static final RelationshipEnumeration PART_OF_

DEVELOPS_FROM

public static final RelationshipEnumeration DEVELOPS_FROM

START_STAGE

public static final RelationshipEnumeration START_STAGE

END_STAGE

public static final RelationshipEnumeration END_STAGE
Method Detail

values

public static final RelationshipEnumeration[] 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(RelationshipEnumeration c : RelationshipEnumeration.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static RelationshipEnumeration 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 RelationshipEnumeration getRelationshipEnum(java.lang.String name)