public class MaxActivityModelProcessor extends java.lang.Object implements IMXActivityModelProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HEIRARCHY_LEVEL |
Constructor and Description |
---|
MaxActivityModelProcessor(Schedule schedule) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<IMXActivity> |
activityPreorderIterator()
Returns an Iterator for all activities in the model
|
java.util.Iterator<IMXActivity> |
activityPreorderIterator(IMXActivity activity)
Returns an Iterator that iterates over this activity's descendants.
|
java.util.Iterator<IMXActivity> |
childActivityIterator(IMXActivity activity)
Returns an Iterator this this parent's children.
|
java.util.Iterator |
constraintIterator(IMXActivity activity)
Returns an Iterator for all outgoing constraints for this activity.
|
java.util.Iterator |
constraintIteratorFromActivity(IMXActivity activity) |
java.util.Iterator |
constraintIteratorToActivity(IMXActivity activity) |
IMXActivity |
getActivityByID(java.lang.String activityID) |
int |
getChildActivityCount(IMXActivity activity)
Return the Child Count for this parent
|
IMXActivity |
getItemById(java.lang.String id)
Fetches Activity by ID.
|
IMXGanttModel |
getModel() |
IMXActivity |
getRootActivity()
Get the first/main activity for the model
|
boolean |
recalculateParentActivity(IMXActivity parent) |
public static final java.lang.String HEIRARCHY_LEVEL
public MaxActivityModelProcessor(Schedule schedule)
public IMXGanttModel getModel()
getModel
in interface IMXActivityModelProcessor
public IMXActivity getRootActivity()
IMXActivityModelProcessor
getRootActivity
in interface IMXActivityModelProcessor
public java.util.Iterator<IMXActivity> activityPreorderIterator()
IMXActivityModelProcessor
activityPreorderIterator
in interface IMXActivityModelProcessor
public java.util.Iterator<IMXActivity> activityPreorderIterator(IMXActivity activity)
IMXActivityModelProcessor
activityPreorderIterator
in interface IMXActivityModelProcessor
public java.util.Iterator<IMXActivity> childActivityIterator(IMXActivity activity)
IMXActivityModelProcessor
childActivityIterator
in interface IMXActivityModelProcessor
public int getChildActivityCount(IMXActivity activity)
IMXActivityModelProcessor
getChildActivityCount
in interface IMXActivityModelProcessor
public java.util.Iterator constraintIteratorFromActivity(IMXActivity activity)
public java.util.Iterator constraintIteratorToActivity(IMXActivity activity)
public java.util.Iterator constraintIterator(IMXActivity activity)
IMXActivityModelProcessor
constraintIterator
in interface IMXActivityModelProcessor
public IMXActivity getActivityByID(java.lang.String activityID)
public boolean recalculateParentActivity(IMXActivity parent)
public IMXActivity getItemById(java.lang.String id)
IMXActivityModelProcessor
getItemById
in interface IMXActivityModelProcessor