public final class Goal extends GOElement
Modifier | Constructor and Description |
---|---|
protected |
Goal()
Creates new instance.
|
|
Goal(String modelId,
long processInstanceId,
String contextName,
String name,
GoalType type,
GoalState state,
Collection<GOElement> children,
boolean top)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
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, hashCode
protected Goal()
public Goal(String modelId, long processInstanceId, String contextName, String name, GoalType type, GoalState state, Collection<GOElement> children, boolean top)
modelId
- processInstanceId
- contextName
- name
- type
- state
- children
- top
- NullPointerException
- if modelId
or contextName
or name
or type
or
children
is nullIllegalArgumentException
- if children
contains nullpublic GoalType getType()
public GoalState getState()
public Collection<GOElement> getChildren()
GOElement
getChildren
in class GOElement
public boolean isTop()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.