public interface Clause extends Element
The following features are supported:
UMLPackage.getClause()
Modifier and Type | Method and Description |
---|---|
MDWEList<ExecutableNode> |
getBodies()
Returns the value of the 'Body' reference list.
|
ExecutableNode |
getBody(String name)
Retrieves the first
ExecutableNode with the specified 'Name' from the '
Body' reference list |
ExecutableNode |
getBody(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
ExecutableNode with the specified 'Name' from the '
Body' reference list |
OutputPin |
getBodyOutput(String name,
Type type)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from
the 'Body Output' reference list |
OutputPin |
getBodyOutput(String name,
Type type,
boolean ignoreCase)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from
the 'Body Output' reference list |
MDWEList<OutputPin> |
getBodyOutputs()
Returns the value of the 'Body Output' reference list.
|
OutputPin |
getDecider()
Returns the value of the 'Decider' reference
|
MDWEList<Clause> |
getPredecessorClauses()
Returns the value of the 'Predecessor Clause' reference list.
|
MDWEList<Clause> |
getSuccessorClauses()
Returns the value of the 'Successor Clause' reference list.
|
ExecutableNode |
getTest(String name)
Retrieves the first
ExecutableNode with the specified 'Name' from the '
Test' reference list |
ExecutableNode |
getTest(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
ExecutableNode with the specified 'Name' from the '
Test' reference list |
MDWEList<ExecutableNode> |
getTests()
Returns the value of the 'Test' reference list.
|
void |
setDecider(OutputPin value)
Sets the value of the '
Decider ' reference |
boolean |
validateBodyOutputPins(DiagnosticChain diagnostics,
Map context)
The bodyOutput pins are output pins on actions in the body of the clause.
|
boolean |
validateDeciderOutput(DiagnosticChain diagnostics,
Map context)
The decider output pin must be for the test body or a node contained by the test body as a structured node.
|
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
MDWEList<ExecutableNode> getTests()
ExecutableNode
.
A nested activity fragment with a designated output pin that specifies the result of the test.
UMLPackage.getClause_Test()
ExecutableNode getTest(String name)
ExecutableNode
with the specified 'Name' from the '
Test' reference list.
name
- The 'Name' of the ExecutableNode
to retrieve, or null
.ExecutableNode
with the specified 'Name', or null
.getTests()
ExecutableNode getTest(String name, boolean ignoreCase, EClass eClass)
ExecutableNode
with the specified 'Name' from the '
Test' reference list.
name
- The 'Name' of the ExecutableNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ExecutableNode
to retrieve, or null
.ExecutableNode
with the specified 'Name', or null
.getTests()
MDWEList<ExecutableNode> getBodies()
ExecutableNode
.
A nested activity fragment that is executed if the test evaluates to true and the clause is chosen over any concurrent clauses that also
evaluate to true.
UMLPackage.getClause_Body()
ExecutableNode getBody(String name)
ExecutableNode
with the specified 'Name' from the '
Body' reference list.
name
- The 'Name' of the ExecutableNode
to retrieve, or null
.ExecutableNode
with the specified 'Name', or null
.getBodies()
ExecutableNode getBody(String name, boolean ignoreCase, EClass eClass)
ExecutableNode
with the specified 'Name' from the '
Body' reference list.
name
- The 'Name' of the ExecutableNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ExecutableNode
to retrieve, or null
.ExecutableNode
with the specified 'Name', or null
.getBodies()
MDWEList<Clause> getPredecessorClauses()
Clause
.
It is bidirectional and its opposite is 'Successor Clause
'.
A set of clauses whose tests must all evaluate false before the current clause can be tested.
UMLPackage.getClause_PredecessorClause()
,
getSuccessorClauses()
MDWEList<Clause> getSuccessorClauses()
Clause
.
It is bidirectional and its opposite is 'Predecessor Clause
'.
A set of clauses which may not be tested unless the current clause tests false.
UMLPackage.getClause_SuccessorClause()
,
getPredecessorClauses()
OutputPin getDecider()
setDecider(OutputPin)
,
UMLPackage.getClause_Decider()
void setDecider(OutputPin value)
Decider
' reference.
value
- the new value of the 'Decider' reference.getDecider()
MDWEList<OutputPin> getBodyOutputs()
OutputPin
.
A list of output pins within the body fragment whose values are moved to the result pins of the containing conditional node after execution of
the clause body.
UMLPackage.getClause_BodyOutput()
OutputPin getBodyOutput(String name, Type type)
OutputPin
with the specified 'Name', and 'Type' from
the 'Body Output' reference list.
name
- The 'Name' of the OutputPin
to retrieve, or null
.type
- The 'Type' of the OutputPin
to retrieve, or null
.OutputPin
with the specified 'Name', and 'Type', or
null
.getBodyOutputs()
OutputPin getBodyOutput(String name, Type type, boolean ignoreCase)
OutputPin
with the specified 'Name', and 'Type' from
the 'Body Output' reference list.
name
- The 'Name' of the OutputPin
to retrieve, or null
.type
- The 'Type' of the OutputPin
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.OutputPin
with the specified 'Name', and 'Type', or
null
.getBodyOutputs()
boolean validateDeciderOutput(DiagnosticChain diagnostics, Map context)
boolean validateBodyOutputPins(DiagnosticChain diagnostics, Map context)