com.sap.caf.eu.gp.process.api
Interface IGPDeadline
- public interface IGPDeadline
INVALID_DATE
public static final int INVALID_DATE
- See Also:
- Constant Field Values
DEADLINE_FROM_PROCESS_START
public static final int DEADLINE_FROM_PROCESS_START
- The deadline is related to the process start
- See Also:
- Constant Field Values
DEADLINE_FROM_ACTION_START
public static final int DEADLINE_FROM_ACTION_START
- The deadline is related to the action start
- See Also:
- Constant Field Values
DEADLINE_ABSOLUTE_POINT
public static final int DEADLINE_ABSOLUTE_POINT
- The deadline is related to an absolute point in the time.
- See Also:
- Constant Field Values
getDeadlineDate
public long getDeadlineDate()
- Returns:
- the timestamp of the deadline date
getDuration
public IGPDuration getDuration()
- Returns:
- the duration from the start point until the deadline, can be null according to the type of deadline
getCalculatedDuration
public long getCalculatedDuration()
- Returns:
- the duration in milliseconds. This long is calculated by using the deadline date and the start date timestamps.
getStartPointReferenceType
public int getStartPointReferenceType()
- Returns:
- the type of the start point reference
getStartDate
public 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 2006 SAP AG Complete Copyright Notice