public abstract class GOElement extends java.lang.Object implements ModelInstanceAware, ModelIdentifiable, ElementInProcess
| Modifier | Constructor and Description |
|---|---|
protected |
GOElement(ProcessInstance processInstance,
Goal parentGoal,
java.lang.String name)
Creates new instance of
GOElement. |
protected |
GOElement(SGOElement s,
Goal parent,
ProcessInstance processInstance,
ModelInstance modelInstance) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireChange(Change change)
Notifies about change.
|
abstract java.util.Collection<GOElement> |
getChildren()
Returns unmodifiable collection of children go elements.
|
ModelInstance |
getModelInstance()
Returns the enclosing model instance.
|
java.lang.String |
getName()
Returns name of this GO element.
|
Goal |
getParentGoal()
Returns the parent goal or null if this is top goal in its module.
|
java.lang.String |
getPath()
Returns the full path to this element as a string.
|
QID |
getPathQID()
Returns the full path to this element as a QID.
|
ProcessInstance |
getProcessInstance()
Returns the process instance.
|
void |
rebind(ModelInstance modelInstance)
Re-bind to the provided model instance.
|
abstract SGOElement |
toSerializable(SModelInstance smi,
MarshallerConfig config)
Creates a serializable object.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetElement, getElementIdprotected GOElement(ProcessInstance processInstance, Goal parentGoal, java.lang.String name)
GOElement.processInstance - parentGoal - name - java.lang.NullPointerException - if processInstance or moduleInstance or
name is nullprotected GOElement(SGOElement s, Goal parent, ProcessInstance processInstance, ModelInstance modelInstance)
public abstract SGOElement toSerializable(SModelInstance smi, MarshallerConfig config)
smi - config - public java.lang.String getName()
public ProcessInstance getProcessInstance()
getProcessInstance in interface ElementInProcesspublic Goal getParentGoal()
public ModelInstance getModelInstance()
getModelInstance in interface ModelInstanceAwarepublic void rebind(ModelInstance modelInstance)
ModelInstanceAwarerebind in interface ModelInstanceAwarepublic abstract java.util.Collection<GOElement> getChildren()
protected void fireChange(Change change)
change - public QID getPathQID()
public java.lang.String getPath()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.