jopt.js.spi.domain.activity
Class ActDelta
java.lang.Object
jopt.js.spi.domain.activity.ActDelta
- public class ActDelta
- extends java.lang.Object
A class to maintain changes to all aspects of an activity;
thus, it records changes to startTimes, duration, and endTimes.
Constructor Summary |
ActDelta()
Creates a Act Delta object that simply wraps the three sub sets |
Method Summary |
void |
add(ActDelta delta)
Adds the elements of this delta with another |
boolean |
isEmpty()
Checks to see if the delta sets are empty or not |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
startTimes
public jopt.csp.util.IntIntervalSet startTimes
duration
public jopt.csp.util.IntIntervalSet duration
endTimes
public jopt.csp.util.IntIntervalSet endTimes
ActDelta
public ActDelta()
- Creates a Act Delta object that simply wraps the three sub sets
add
public void add(ActDelta delta)
- Adds the elements of this delta with another
- Parameters:
delta
-
isEmpty
public boolean isEmpty()
- Checks to see if the delta sets are empty or not
- Returns:
- true if all subsets are empty
toString
public java.lang.String toString()