public interface Clause extends Element
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:
UMLPackage.getClause()
Modifier and Type | Method and Description |
---|---|
ConditionalNode |
get_conditionalNodeOfClause()
Returns the value of the 'conditional Node Of Clause' container reference.
|
java.util.Collection<ExecutableNode> |
getBody()
Returns the value of the 'Body' reference list.
|
java.util.List<OutputPin> |
getBodyOutput()
Returns the value of the 'Body Output' reference list.
|
OutputPin |
getDecider()
Returns the value of the 'Decider' reference.
|
java.util.Collection<Clause> |
getPredecessorClause()
Returns the value of the 'Predecessor Clause' reference list.
|
java.util.Collection<Clause> |
getSuccessorClause()
Returns the value of the 'Successor Clause' reference list.
|
java.util.Collection<ExecutableNode> |
getTest()
Returns the value of the 'Test' reference list.
|
boolean |
hasBody() |
boolean |
hasBodyOutput() |
boolean |
hasPredecessorClause() |
boolean |
hasSuccessorClause() |
boolean |
hasTest() |
void |
set_conditionalNodeOfClause(ConditionalNode value)
Sets the value of the
'
conditional Node Of Clause ' container
reference. |
void |
setDecider(OutputPin value)
Sets the value of the '
Decider ' reference. |
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
java.util.Collection<ExecutableNode> getTest()
ExecutableNode
.
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.
UMLPackage.getClause_Test()
,
ExecutableNode.get_clauseOfTest()
java.util.Collection<ExecutableNode> getBody()
ExecutableNode
.
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.
UMLPackage.getClause_Body()
,
ExecutableNode.get_clauseOfBody()
java.util.Collection<Clause> getPredecessorClause()
Clause
.
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.
UMLPackage.getClause_PredecessorClause()
,
getSuccessorClause()
java.util.Collection<Clause> getSuccessorClause()
Clause
.
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.
UMLPackage.getClause_SuccessorClause()
,
getPredecessorClause()
java.util.List<OutputPin> getBodyOutput()
OutputPin
.
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.
UMLPackage.getClause_BodyOutput()
,
OutputPin.get_clauseOfBodyOutput()
@CheckForNull ConditionalNode get_conditionalNodeOfClause()
Clause
'.
If the meaning of the 'conditional Node Of Clause' container reference isn't clear, there really should be more of a description here...
set_conditionalNodeOfClause(ConditionalNode)
,
UMLPackage.getClause__conditionalNodeOfClause()
,
ConditionalNode.getClause()
void set_conditionalNodeOfClause(@CheckForNull ConditionalNode value)
conditional Node Of Clause
' container
reference.
value
- the new value of the 'conditional Node Of Clause' container reference.get_conditionalNodeOfClause()
@CheckForNull OutputPin getDecider()
clause Of Decider
'.
An OutputPin on an Action in the test section whose Boolean value determines the result of the test.
setDecider(OutputPin)
,
UMLPackage.getClause_Decider()
,
OutputPin.get_clauseOfDecider()
void setDecider(@CheckForNull OutputPin value)
Decider
' reference.
value
- the new value of the 'Decider' reference.getDecider()
boolean hasTest() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasBody() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasPredecessorClause() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasSuccessorClause() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasBodyOutput() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException