com.prozima.pengine
Enum Constraint.ConstraintType

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

public static enum Constraint.ConstraintType
extends java.lang.Enum<Constraint.ConstraintType>

Type of constraint.


Enum Constant Summary
MFAD
          Must Finish After Date
MFBD
          Must Finish Before Date
MFOD
          Must Finish On Date
MFXD
          Must Finish Between Dates
MSAD
          Must Start After Date
MSBD
          Must Start Before Date
MSOD
          Must Start On Date
MSXD
          Must Finish Between Dates
NONE
          Not a constraint
 
Method Summary
static Constraint.ConstraintType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Constraint.ConstraintType[] 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

MFAD

public static final Constraint.ConstraintType MFAD
Must Finish After Date


MFBD

public static final Constraint.ConstraintType MFBD
Must Finish Before Date


MFOD

public static final Constraint.ConstraintType MFOD
Must Finish On Date


MFXD

public static final Constraint.ConstraintType MFXD
Must Finish Between Dates


MSAD

public static final Constraint.ConstraintType MSAD
Must Start After Date


MSBD

public static final Constraint.ConstraintType MSBD
Must Start Before Date


MSOD

public static final Constraint.ConstraintType MSOD
Must Start On Date


MSXD

public static final Constraint.ConstraintType MSXD
Must Finish Between Dates


NONE

public static final Constraint.ConstraintType NONE
Not a constraint

Method Detail

valueOf

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

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