Interface Clause
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
A representation of the model object 'Clause'.
A Clause is an Element that represents a single branch of a ConditionalNode, including a test and a body section. The body section is executed only if (but not necessarily if) the test section evaluates to true.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='activities.mdstructuredactivities'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'conditional Node Of Clause' container reference.getBody()
Returns the value of the 'Body' reference list.Returns the value of the 'Body Output' reference list.Returns the value of the 'Decider' reference.Returns the value of the 'Predecessor Clause' reference list.Returns the value of the 'Successor Clause' reference list.getTest()
Returns the value of the 'Test' reference list.boolean
hasBody()
boolean
boolean
boolean
boolean
hasTest()
void
Sets the value of the 'conditional Node Of Clause
' container reference.void
setDecider
(OutputPin value) Sets the value of the 'Decider
' reference.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.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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
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
-
Method Details
-
getTest
Collection<ExecutableNode> getTest()Returns the value of the 'Test' reference list. The list contents are of typeExecutableNode
. It is bidirectional and its opposite is 'clause Of Test
'. The set of ExecutableNodes that are executed in order to provide a test result for the Clause.- Returns:
- the value of the 'Test' reference list.
- See Also:
- Model:
- opposite="_clauseOfTest" required="true" ordered="false"
- Generated:
-
getBody
Collection<ExecutableNode> getBody()Returns the value of the 'Body' reference list. The list contents are of typeExecutableNode
. It is bidirectional and its opposite is 'clause Of Body
'. The set of ExecutableNodes that are executed if the test evaluates to true and the Clause is chosen over other Clauses within the ConditionalNode that also have tests that evaluate to true.- Returns:
- the value of the 'Body' reference list.
- See Also:
- Model:
- opposite="_clauseOfBody" ordered="false"
- Generated:
-
getPredecessorClause
Collection<Clause> getPredecessorClause()Returns the value of the 'Predecessor Clause' reference list. The list contents are of typeClause
. It is bidirectional and its opposite is 'Successor Clause
'. A set of Clauses whose tests must all evaluate to false before this Clause can evaluate its test.- Returns:
- the value of the 'Predecessor Clause' reference list.
- See Also:
- Model:
- opposite="successorClause" ordered="false"
- Generated:
-
getSuccessorClause
Collection<Clause> getSuccessorClause()Returns the value of the 'Successor Clause' reference list. The list contents are of typeClause
. It is bidirectional and its opposite is 'Predecessor Clause
'. A set of Clauses that may not evaluate their tests unless the test for this Clause evaluates to false.- Returns:
- the value of the 'Successor Clause' reference list.
- See Also:
- Model:
- opposite="predecessorClause" ordered="false"
- Generated:
-
getBodyOutput
Returns the value of the 'Body Output' reference list. The list contents are of typeOutputPin
. It is bidirectional and its opposite is 'clause Of Body Output
'. The OutputPins on Actions within the body section whose values are moved to the result OutputPins of the containing ConditionalNode after execution of the body.- Returns:
- the value of the 'Body Output' reference list.
- See Also:
- Model:
- opposite="_clauseOfBodyOutput"
- Generated:
-
get_conditionalNodeOfClause
Returns the value of the 'conditional Node Of Clause' container reference. It is bidirectional and its opposite is 'Clause
'.If the meaning of the 'conditional Node Of Clause' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'conditional Node Of Clause' container reference.
- See Also:
- Model:
- opposite="clause" required="true" transient="false" ordered="false"
- Generated:
-
set_conditionalNodeOfClause
Sets the value of the 'conditional Node Of Clause
' container reference.- Parameters:
value
- the new value of the 'conditional Node Of Clause' container reference.- See Also:
- Generated:
-
getDecider
Returns the value of the 'Decider' reference. It is bidirectional and its opposite is 'clause Of Decider
'. An OutputPin on an Action in the test section whose Boolean value determines the result of the test.- Returns:
- the value of the 'Decider' reference.
- See Also:
- Model:
- opposite="_clauseOfDecider" required="true" ordered="false"
- Generated:
-
setDecider
Sets the value of the 'Decider
' reference.- Parameters:
value
- the new value of the 'Decider' reference.- See Also:
- Generated:
-
hasTest
boolean hasTest() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasBody
boolean hasBody() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasPredecessorClause
boolean hasPredecessorClause() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasSuccessorClause
boolean hasSuccessorClause() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasBodyOutput
boolean hasBodyOutput() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-