Interface StructuredActivityNode
-
- All Superinterfaces:
Action
,ActivityGroup
,ActivityNode
,BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,ExecutableNode
,MDObject
,ModelObject
,NamedElement
,Namespace
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
ConditionalNode
,ExpansionRegion
,LoopNode
,SequenceNode
public interface StructuredActivityNode extends Action, Namespace, ActivityGroup
A representation of the model object 'Structured Activity Node'.A StructuredActivityNode is an Action that is also an ActivityGroup and whose behavior is specified by the ActivityNodes and ActivityEdges it so contains. Unlike other kinds of ActivityGroup, a StructuredActivityNode owns the ActivityNodes and ActivityEdges it contains, and so a node or edge can only be directly contained in one StructuredActivityNode, though StructuredActivityNodes may be nested.
The following features are supported:
- See Also:
UMLPackage.getStructuredActivityNode()
- Model:
- annotation="MOF package='activities.mdstructuredactivities'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Activity
getActivity()
Returns the value of the 'Activity' reference.java.util.Collection<ActivityEdge>
getEdge()
Returns the value of the 'Edge' containment reference list.java.util.Collection<ActivityNode>
getNode()
Returns the value of the 'Node' containment reference list.java.util.Collection<InputPin>
getStructuredNodeInput()
Returns the value of the 'Structured Node Input' containment reference list.java.util.Collection<OutputPin>
getStructuredNodeOutput()
Returns the value of the 'Structured Node Output' containment reference list.java.util.Collection<Variable>
getVariable()
Returns the value of the 'Variable' containment reference list.boolean
hasEdge()
boolean
hasNode()
boolean
hasStructuredNodeInput()
boolean
hasStructuredNodeOutput()
boolean
hasVariable()
boolean
isMustIsolate()
Returns the value of the 'Must Isolate' attribute.void
setActivity(Activity value)
Sets the value of the 'Activity
' reference.void
setMustIsolate(boolean value)
Sets the value of the 'Must Isolate
' attribute.-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.actions.mdbasicactions.Action
get_actionExecutionSpecificationOfAction, get_actionInputPinOfFromAction, get_interactionOfAction, getContext, getInput, getLocalPostcondition, getLocalPrecondition, getOutput, has_actionExecutionSpecificationOfAction, hasInput, hasLocalPostcondition, hasLocalPrecondition, hasOutput, isLocallyReentrant, set_actionInputPinOfFromAction, set_interactionOfAction, setLocallyReentrant
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdfundamentalactivities.ActivityGroup
getContainedEdge, getContainedNode, getInActivity, getSubgroup, getSuperGroup, hasContainedEdge, hasContainedNode, hasSubgroup, setInActivity, setSuperGroup
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdfundamentalactivities.ActivityNode
get_activityNodeOfRedefinedNode, getIncoming, getInGroup, getInInterruptibleRegion, getInPartition, getInStructuredNode, getOutgoing, getRedefinedNode, has_activityNodeOfRedefinedNode, hasIncoming, hasInGroup, hasInInterruptibleRegion, hasInPartition, hasOutgoing, hasRedefinedNode, setInStructuredNode
-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdstructuredactivities.ExecutableNode
get_clauseOfBody, get_clauseOfTest, get_exceptionHandlerOfHandlerBody, get_loopNodeOfBodyPart, get_loopNodeOfSetupPart, get_loopNodeOfTest, get_sequenceNodeOfExecutableNode, getHandler, has_exceptionHandlerOfHandlerBody, hasHandler, set_clauseOfBody, set_clauseOfTest, set_loopNodeOfBodyPart, set_loopNodeOfSetupPart, set_loopNodeOfTest, set_sequenceNodeOfExecutableNode
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getVariable
java.util.Collection<Variable> getVariable()
Returns the value of the 'Variable' containment reference list. The list contents are of typeVariable
. It is bidirectional and its opposite is 'Scope
'. The Variables defined in the scope of the StructuredActivityNode.- Returns:
- the value of the 'Variable' containment reference list.
- See Also:
UMLPackage.getStructuredActivityNode_Variable()
,Variable.getScope()
- Model:
- opposite="scope" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getStructuredNodeOutput
java.util.Collection<OutputPin> getStructuredNodeOutput()
Returns the value of the 'Structured Node Output' containment reference list. The list contents are of typeOutputPin
. It is bidirectional and its opposite is 'structured Activity Node Of Structured Node Output
'.If the meaning of the 'Structured Node Output' containment reference list isn't clear, there really should be more of a description here...
The OutputPins owned by the StructuredActivityNode.- Returns:
- the value of the 'Structured Node Output' containment reference list.
- See Also:
UMLPackage.getStructuredActivityNode_StructuredNodeOutput()
,OutputPin.get_structuredActivityNodeOfStructuredNodeOutput()
- Model:
- opposite="_structuredActivityNodeOfStructuredNodeOutput" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getNode
java.util.Collection<ActivityNode> getNode()
Returns the value of the 'Node' containment reference list. The list contents are of typeActivityNode
. It is bidirectional and its opposite is 'In Structured Node
'. The ActivityNodes immediately contained in the StructuredActivityNode.- Returns:
- the value of the 'Node' containment reference list.
- See Also:
UMLPackage.getStructuredActivityNode_Node()
,ActivityNode.getInStructuredNode()
- Model:
- opposite="inStructuredNode" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getStructuredNodeInput
java.util.Collection<InputPin> getStructuredNodeInput()
Returns the value of the 'Structured Node Input' containment reference list. The list contents are of typeInputPin
. It is bidirectional and its opposite is 'structured Activity Node Of Structured Node Input
'.If the meaning of the 'Structured Node Input' containment reference list isn't clear, there really should be more of a description here...
The InputPins owned by the StructuredActivityNode.- Returns:
- the value of the 'Structured Node Input' containment reference list.
- See Also:
UMLPackage.getStructuredActivityNode_StructuredNodeInput()
,InputPin.get_structuredActivityNodeOfStructuredNodeInput()
- Model:
- opposite="_structuredActivityNodeOfStructuredNodeInput" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getEdge
java.util.Collection<ActivityEdge> getEdge()
Returns the value of the 'Edge' containment reference list. The list contents are of typeActivityEdge
. It is bidirectional and its opposite is 'In Structured Node
'. The ActivityEdges immediately contained in the StructuredActivityNode.- Returns:
- the value of the 'Edge' containment reference list.
- See Also:
UMLPackage.getStructuredActivityNode_Edge()
,ActivityEdge.getInStructuredNode()
- Model:
- opposite="inStructuredNode" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
isMustIsolate
boolean isMustIsolate()
Returns the value of the 'Must Isolate' attribute. The default value is"false"
. If true, then any object used by an Action within the StructuredActivityNode cannot be accessed by any Action outside the node until the StructuredActivityNode as a whole completes. Any concurrent Actions that would result in accessing such objects are required to have their execution deferred until the completion of the StructuredActivityNode.- Returns:
- the value of the 'Must Isolate' attribute.
- See Also:
setMustIsolate(boolean)
,UMLPackage.getStructuredActivityNode_MustIsolate()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setMustIsolate
void setMustIsolate(boolean value)
Sets the value of the 'Must Isolate
' attribute.- Parameters:
value
- the new value of the 'Must Isolate' attribute.- See Also:
isMustIsolate()
- Generated:
-
getActivity
@CheckForNull Activity getActivity()
Returns the value of the 'Activity' reference. It is bidirectional and its opposite is 'Structured Node
'. The Activity immediately containing the StructuredActivityNode, if it is not contained in another StructuredActivityNode.- Specified by:
getActivity
in interfaceActivityNode
- Returns:
- the value of the 'Activity' reference.
- See Also:
setActivity(Activity)
,UMLPackage.getStructuredActivityNode_Activity()
,Activity.getStructuredNode()
- Model:
- opposite="structuredNode" transient="true" volatile="true" derived="true" ordered="false"
- Generated:
-
setActivity
void setActivity(@CheckForNull Activity value)
Sets the value of the 'Activity
' reference.- Specified by:
setActivity
in interfaceActivityNode
- Parameters:
value
- the new value of the 'Activity' reference.- See Also:
getActivity()
- Generated:
-
hasVariable
boolean hasVariable() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasStructuredNodeOutput
boolean hasStructuredNodeOutput() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasNode
boolean hasNode() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasStructuredNodeInput
boolean hasStructuredNodeInput() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasEdge
boolean hasEdge() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-