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

Interface IGPDeadline


public interface IGPDeadline


Field Summary
static int DEADLINE_ABSOLUTE_POINT
          The deadline is related to an absolute point in the time.
static int DEADLINE_FROM_ACTION_START
          The deadline is related to the action start
static int DEADLINE_FROM_PROCESS_START
          The deadline is related to the process start
static int DEADLINE_ON_ASSIGN
          The DEADLINE_ON_ASSIGN and DEADLINE_ON_DEASSIGN are related with two new types of duedate of the same name
static int DEADLINE_ON_DEASSIGN
           
static int INVALID_DATE
           
 
Method Summary
 long getCalculatedDuration()
           
 long getDeadlineDate()
           
 IGPDuration getDuration()
           
 long getStartDate()
           
 int getStartPointReferenceType()
           
 

Field Detail

INVALID_DATE

static final int INVALID_DATE
See Also:
Constant Field Values

DEADLINE_FROM_PROCESS_START

static final int DEADLINE_FROM_PROCESS_START
The deadline is related to the process start

See Also:
Constant Field Values

DEADLINE_FROM_ACTION_START

static final int DEADLINE_FROM_ACTION_START
The deadline is related to the action start

See Also:
Constant Field Values

DEADLINE_ABSOLUTE_POINT

static final int DEADLINE_ABSOLUTE_POINT
The deadline is related to an absolute point in the time.

See Also:
Constant Field Values

DEADLINE_ON_ASSIGN

static final int DEADLINE_ON_ASSIGN
The DEADLINE_ON_ASSIGN and DEADLINE_ON_DEASSIGN are related with two new types of duedate of the same name

See Also:
Constant Field Values

DEADLINE_ON_DEASSIGN

static final int DEADLINE_ON_DEASSIGN
See Also:
Constant Field Values
Method Detail

getDeadlineDate

long getDeadlineDate()
Returns:
the timestamp of the deadline date

getDuration

IGPDuration getDuration()
Returns:
the duration from the start point until the deadline, can be null according to the type of deadline

getCalculatedDuration

long getCalculatedDuration()
Returns:
the duration in milliseconds. This long is calculated by using the deadline date and the start date timestamps.

getStartPointReferenceType

int getStartPointReferenceType()
Returns:
the type of the start point reference

getStartDate

long getStartDate()
Returns:
the timestamp of the start date. Can be used with the duration in order to calculate a possible deadline or end date.


Copyright 2009 SAP AG Complete Copyright Notice