Interface StructuredActivityNode
- All Superinterfaces:
Action,ActivityGroup,ActivityNode,BaseElement,Cloneable,Comparable,Element,org.eclipse.emf.ecore.EObject,ExecutableNode,MDObject,com.dassault_systemes.modeler.foundation.model.ModelElement,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
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:
- Model:
- annotation="MOF package='activities.mdstructuredactivities'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Activity' reference.getEdge()Returns the value of the 'Edge' containment reference list.getNode()Returns the value of the 'Node' containment reference list.Returns the value of the 'Structured Node Input' containment reference list.Returns the value of the 'Structured Node Output' containment reference list.Returns the value of the 'Variable' containment reference list.booleanhasEdge()booleanhasNode()booleanbooleanbooleanbooleanReturns the value of the 'Must Isolate' attribute.voidsetActivity(Activity value) Sets the value of the 'Activity' reference.voidsetMustIsolate(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, setLocallyReentrantMethods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdfundamentalactivities.ActivityGroup
getContainedEdge, getContainedNode, getInActivity, getSubgroup, getSuperGroup, hasContainedEdge, hasContainedNode, hasSubgroup, setInActivity, setSuperGroupMethods 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, setInStructuredNodeMethods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods 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, setSyncElementMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods 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_sequenceNodeOfExecutableNodeMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, selfDispose, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods 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, setVisibilityMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImportMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
getVariable
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:
- Model:
- opposite="scope" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getStructuredNodeOutput
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:
- Model:
- opposite="_structuredActivityNodeOfStructuredNodeOutput" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getNode
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:
- Model:
- opposite="inStructuredNode" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getStructuredNodeInput
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:
- Model:
- opposite="_structuredActivityNodeOfStructuredNodeInput" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getEdge
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:
- 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:
- 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:
- Generated:
-
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:
getActivityin interfaceActivityNode- Returns:
- the value of the 'Activity' reference.
- See Also:
- Model:
- opposite="structuredNode" transient="true" volatile="true" derived="true" ordered="false"
- Generated:
-
setActivity
Sets the value of the 'Activity' reference.- Specified by:
setActivityin interfaceActivityNode- Parameters:
value- the new value of the 'Activity' reference.- See Also:
- 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:
-