com.prozima.pengine
Enum Relationship.RelationshipType

java.lang.Object
  extended by java.lang.Enum<Relationship.RelationshipType>
      extended by com.prozima.pengine.Relationship.RelationshipType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Relationship.RelationshipType>
Enclosing class:
Relationship

public static enum Relationship.RelationshipType
extends java.lang.Enum<Relationship.RelationshipType>

Defines the type of relationshipType which a schedule node can have with other nodes.


Enum Constant Summary
FINISHFINISH
          Schedule node cannot finish before the finish date of another node.
FINISHSTART
          Schedule node cannot start before the finish date of another node.
STARTFINISH
          Schedule node cannot finish before the start date of another node.
STARTSTART
          Schedule node cannot start before the start date of other node.
 
Method Summary
static Relationship.RelationshipType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Relationship.RelationshipType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FINISHFINISH

public static final Relationship.RelationshipType FINISHFINISH
Schedule node cannot finish before the finish date of another node. Affects a node's finish date.


FINISHSTART

public static final Relationship.RelationshipType FINISHSTART
Schedule node cannot start before the finish date of another node. Affects a node's start date.


STARTFINISH

public static final Relationship.RelationshipType STARTFINISH
Schedule node cannot finish before the start date of another node. Affects a node's finish date.


STARTSTART

public static final Relationship.RelationshipType STARTSTART
Schedule node cannot start before the start date of other node. Affects a node's start date.

Method Detail

valueOf

public static Relationship.RelationshipType 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
java.lang.NullPointerException - if the argument is null

values

public static Relationship.RelationshipType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Relationship.RelationshipType c : Relationship.RelationshipType.values())
    System.out.println(c);

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