public final class Goal extends GOElement
| Modifier | Constructor and Description |
|---|---|
protected |
Goal()
Creates new instance.
|
|
Goal(java.lang.String modelId,
long processInstanceId,
java.lang.String contextName,
java.lang.String name,
GoalType type,
GoalState state,
java.util.Collection<GOElement> children,
boolean top)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<GOElement> |
getChildren()
Returns the element children.
|
GoalState |
getState()
Returns the goal state.
|
GoalType |
getType()
Returns the goal type.
|
boolean |
isTop()
Returns true if this is top goal.
|
equals, getContextName, getModelId, getName, getProcessInstanceId, hashCodeprotected Goal()
public Goal(java.lang.String modelId,
long processInstanceId,
java.lang.String contextName,
java.lang.String name,
GoalType type,
GoalState state,
java.util.Collection<GOElement> children,
boolean top)
modelId - processInstanceId - contextName - name - type - state - children - top - java.lang.NullPointerException - if modelId or contextName or name or type or
children is nulljava.lang.IllegalArgumentException - if children contains nullpublic GoalType getType()
public GoalState getState()
public java.util.Collection<GOElement> getChildren()
GOElementgetChildren in class GOElementpublic boolean isTop()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.