|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Clause
A representation of the model object 'Clause'. A clause is an element that represents a single branch of a conditional construct, including a test and a body section. The body section is executed only if (but not necessarily if) the test section evaluates true.
The following features are supported:
UMLPackage.getClause()
Method Summary | |
---|---|
org.eclipse.emf.common.util.EList<ExecutableNode> |
getBodies()
Returns the value of the 'Body' reference list. |
ExecutableNode |
getBody(java.lang.String name)
Retrieves the first ExecutableNode with the specified 'Name' from the 'Body' reference list |
ExecutableNode |
getBody(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first ExecutableNode with the specified 'Name' from the 'Body' reference list |
OutputPin |
getBodyOutput(java.lang.String name,
Type type)
Retrieves the first OutputPin with the specified 'Name', and 'Type' from the 'Body Output' reference list |
OutputPin |
getBodyOutput(java.lang.String name,
Type type,
boolean ignoreCase)
Retrieves the first OutputPin with the specified 'Name', and 'Type' from the 'Body Output' reference list |
org.eclipse.emf.common.util.EList<OutputPin> |
getBodyOutputs()
Returns the value of the 'Body Output' reference list. |
OutputPin |
getDecider()
Returns the value of the 'Decider' reference |
org.eclipse.emf.common.util.EList<Clause> |
getPredecessorClauses()
Returns the value of the 'Predecessor Clause' reference list. |
org.eclipse.emf.common.util.EList<Clause> |
getSuccessorClauses()
Returns the value of the 'Successor Clause' reference list. |
ExecutableNode |
getTest(java.lang.String name)
Retrieves the first ExecutableNode with the specified 'Name' from the 'Test' reference list |
ExecutableNode |
getTest(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first ExecutableNode with the specified 'Name' from the 'Test' reference list |
org.eclipse.emf.common.util.EList<ExecutableNode> |
getTests()
Returns the value of the 'Test' reference list. |
void |
setDecider(OutputPin value)
Sets the value of the ' Decider ' reference |
boolean |
validateBodyOutputPins(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The bodyOutput pins are output pins on actions in the body of the clause. |
boolean |
validateDeciderOutput(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The decider output pin must be for the test body or a node contained by the test body as a structured node. |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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 org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
org.eclipse.emf.common.util.EList<ExecutableNode> getTests()
ExecutableNode
.
A nested activity fragment with a designated output pin that specifies the result of the test.
UMLPackage.getClause_Test()
ExecutableNode getTest(java.lang.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(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.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()
org.eclipse.emf.common.util.EList<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(java.lang.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(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.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()
org.eclipse.emf.common.util.EList<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()
org.eclipse.emf.common.util.EList<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()
org.eclipse.emf.common.util.EList<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(java.lang.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(java.lang.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(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateBodyOutputPins(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |