com.sap.caf.eu.gp.process.api

Class GPDeadlineType

java.lang.Object
  extended bycom.sap.caf.eu.gp.process.api.GPDeadlineType

public class GPDeadlineType
extends Object


Field Summary
static GPDeadlineType DEADLINE_TYPE_ABSOLUTE_POINT
          Deadline type The deadline is related to an absolute point in the time.
static GPDeadlineType DEADLINE_TYPE_FROM_ACTION_START
          Deadline type The deadline is related to the action start
static GPDeadlineType DEADLINE_TYPE_FROM_PROCESS_START
          Deadline type The deadline is related to the process start
static GPDeadlineType DEADLINE_TYPE_INVALID_DATE
          Deadline type Invalid date
 
Method Summary
 int getCode()
           
static GPDeadlineType getStatusForCode(int code)
          Get the GPDeadlineType instance corresponding to a given code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEADLINE_TYPE_ABSOLUTE_POINT

public static final GPDeadlineType DEADLINE_TYPE_ABSOLUTE_POINT
Deadline type The deadline is related to an absolute point in the time.


DEADLINE_TYPE_FROM_ACTION_START

public static final GPDeadlineType DEADLINE_TYPE_FROM_ACTION_START
Deadline type The deadline is related to the action start


DEADLINE_TYPE_FROM_PROCESS_START

public static final GPDeadlineType DEADLINE_TYPE_FROM_PROCESS_START
Deadline type The deadline is related to the process start


DEADLINE_TYPE_INVALID_DATE

public static final GPDeadlineType DEADLINE_TYPE_INVALID_DATE
Deadline type Invalid date

Method Detail

getCode

public int getCode()
Returns:
the code of this deadline type

getStatusForCode

public static GPDeadlineType getStatusForCode(int code)
                                       throws IllegalArgumentException
Get the GPDeadlineType instance corresponding to a given code.

Parameters:
code - the deadline type code
Returns:
the GPDeadlineType
Throws:
IllegalArgumentException - if no GPDeadlineType is defined for the given code.


Copyright 2006 SAP AG Complete Copyright Notice