Interface ConditionalNode
- 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
,StructuredActivityNode
A representation of the model object 'Conditional Node'.
A ConditionalNode is a StructuredActivityNode that chooses one among some number of alternative collections of ExecutableNodes to execute.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='activities.mdstructuredactivities'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Clause' containment reference list.Returns the value of the 'Result' containment reference list.boolean
boolean
boolean
Returns the value of the 'Assured' attribute.boolean
Returns the value of the 'Determinate' attribute.void
setAssured
(boolean value) Sets the value of the 'Assured
' attribute.void
setDeterminate
(boolean value) Sets the value of the 'Determinate
' 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, isEditable, removePropertyChangeListener, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
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.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
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
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdstructuredactivities.StructuredActivityNode
getActivity, getEdge, getNode, getStructuredNodeInput, getStructuredNodeOutput, getVariable, hasEdge, hasNode, hasStructuredNodeInput, hasStructuredNodeOutput, hasVariable, isMustIsolate, setActivity, setMustIsolate
-
Method Details
-
isAssured
boolean isAssured()Returns the value of the 'Assured' attribute. The default value is"false"
. If true, the modeler asserts that the test for at least one Clause of the ConditionalNode will succeed.- Returns:
- the value of the 'Assured' attribute.
- See Also:
-
setAssured(boolean)
com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getConditionalNode_Assured()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setAssured
void setAssured(boolean value) Sets the value of the 'Assured
' attribute.- Parameters:
value
- the new value of the 'Assured' attribute.- See Also:
- Generated:
-
isDeterminate
boolean isDeterminate()Returns the value of the 'Determinate' attribute. The default value is"false"
. If true, the modeler asserts that the test for at most one Clause of the ConditionalNode will succeed.- Returns:
- the value of the 'Determinate' attribute.
- See Also:
-
setDeterminate(boolean)
com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getConditionalNode_Determinate()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setDeterminate
void setDeterminate(boolean value) Sets the value of the 'Determinate
' attribute.- Parameters:
value
- the new value of the 'Determinate' attribute.- See Also:
- Generated:
-
getResult
Returns the value of the 'Result' containment reference list. The list contents are of typeOutputPin
. It is bidirectional and its opposite is 'conditional Node Of Result
'. The OutputPins that onto which are moved values from the bodyOutputs of the Clause selected for execution.- Returns:
- the value of the 'Result' containment reference list.
- See Also:
- Model:
- opposite="_conditionalNodeOfResult" containment="true" resolveProxies="true"
- Generated:
-
getClause
Collection<Clause> getClause()Returns the value of the 'Clause' containment reference list. The list contents are of typeClause
. It is bidirectional and its opposite is 'conditional Node Of Clause
'. The set of Clauses composing the ConditionalNode.- Returns:
- the value of the 'Clause' containment reference list.
- See Also:
- Model:
- opposite="_conditionalNodeOfClause" containment="true" resolveProxies="true" required="true" ordered="false"
- Generated:
-
hasResult
boolean hasResult() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasClause
boolean hasClause() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-