org.eclipse.uml2
Interface LoopNode

All Superinterfaces:
Action, ActivityGroup, ActivityNode, Element, EModelElement, EObject, ExecutableNode, NamedElement, Namespace, Notifier, RedefinableElement, StructuredActivityNode, TemplateableElement

public interface LoopNode
extends StructuredActivityNode

A representation of the model object 'Loop Node'.

The following features are supported:

See Also:
UML2Package.getLoopNode()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 OutputPin createLoopVariable(EClass eClass)
          Creates a OutputPin and appends it to the 'Loop Variable' containment reference list
 InputPin createLoopVariableInput(EClass eClass)
          Creates a InputPin and appends it to the 'Loop Variable Input' containment reference list
 OutputPin createResult(EClass eClass)
          Creates a OutputPin and appends it to the 'Result' containment reference list
 OutputPin getBodyOutput(String unqualifiedName)
          Retrieves the OutputPin with the specified name from the 'Body Output' reference list
 EList getBodyOutputs()
          Returns the value of the 'Body Output' reference list.
 ActivityNode getBodyPart(String unqualifiedName)
          Retrieves the ActivityNode with the specified name from the 'Body Part' reference list
 EList getBodyParts()
          Returns the value of the 'Body Part' reference list.
 OutputPin getDecider()
          Returns the value of the 'Decider' reference
 EList getInputs()
           
 OutputPin getLoopVariable(String unqualifiedName)
          Retrieves the OutputPin with the specified name from the 'Loop Variable' containment reference list
 InputPin getLoopVariableInput(String unqualifiedName)
          Retrieves the InputPin with the specified name from the 'Loop Variable Input' containment reference list
 EList getLoopVariableInputs()
          Returns the value of the 'Loop Variable Input' containment reference list.
 EList getLoopVariables()
          Returns the value of the 'Loop Variable' containment reference list.
 EList getOutputs()
           
 EList getOwnedElements()
           
 OutputPin getResult(String unqualifiedName)
          Retrieves the OutputPin with the specified name from the 'Result' containment reference list
 EList getResults()
          Returns the value of the 'Result' containment reference list.
 ActivityNode getSetupPart(String unqualifiedName)
          Retrieves the ActivityNode with the specified name from the 'Setup Part' reference list
 EList getSetupParts()
          Returns the value of the 'Setup Part' reference list.
 ActivityNode getTest(String unqualifiedName)
          Retrieves the ActivityNode with the specified name from the 'Test' reference list
 EList getTests()
          Returns the value of the 'Test' reference list.
 boolean isTestedFirst()
          Returns the value of the 'Is Tested First' attribute
 void setDecider(OutputPin value)
          Sets the value of the 'Decider' reference
 void setIsTestedFirst(boolean value)
          Sets the value of the 'Is Tested First' attribute
 
Methods inherited from interface org.eclipse.uml2.StructuredActivityNode
createContainedEdge, createContainedNode, createVariable, getActivity, getActivityGroup_activity, getContainedEdge, getContainedEdges, getContainedNode, getContainedNodes, getOwnedMembers, getVariable, getVariables, isMustIsolate, setActivity, setActivityGroup_activity, setMustIsolate
 
Methods inherited from interface org.eclipse.uml2.Action
createLocalPostcondition, createLocalPrecondition, getContext, getEffect, getInput, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPreconditions, getOutput, setEffect
 
Methods inherited from interface org.eclipse.uml2.ExecutableNode
createHandler, getHandlers
 
Methods inherited from interface org.eclipse.uml2.ActivityNode
getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, getOwner, getRedefinedElement, getRedefinedElements, setInStructuredNode
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
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, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.uml2.Namespace
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.ActivityGroup
getOwner, getSubgroups, getSuperGroup
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

isTestedFirst

public boolean isTestedFirst()
Returns the value of the 'Is Tested First' attribute.

If the meaning of the 'Is Tested First' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Tested First' attribute.
See Also:
setIsTestedFirst(boolean), UML2Package.getLoopNode_IsTestedFirst()

setIsTestedFirst

public void setIsTestedFirst(boolean value)
Sets the value of the 'Is Tested First' attribute.

Parameters:
value - the new value of the 'Is Tested First' attribute.
See Also:
isTestedFirst()

getBodyParts

public EList getBodyParts()
Returns the value of the 'Body Part' reference list. The list contents are of type ActivityNode.

If the meaning of the 'Body Part' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Body Part' reference list.
See Also:
UML2Package.getLoopNode_BodyPart()

getBodyPart

public ActivityNode getBodyPart(String unqualifiedName)
Retrieves the ActivityNode with the specified name from the 'Body Part' reference list.

Parameters:
unqualifiedName - The unqualified name of the ActivityNode to retrieve.
Returns:
The ActivityNode with the specified name, or null.
See Also:
getBodyParts()

getSetupParts

public EList getSetupParts()
Returns the value of the 'Setup Part' reference list. The list contents are of type ActivityNode.

If the meaning of the 'Setup Part' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Setup Part' reference list.
See Also:
UML2Package.getLoopNode_SetupPart()

getSetupPart

public ActivityNode getSetupPart(String unqualifiedName)
Retrieves the ActivityNode with the specified name from the 'Setup Part' reference list.

Parameters:
unqualifiedName - The unqualified name of the ActivityNode to retrieve.
Returns:
The ActivityNode with the specified name, or null.
See Also:
getSetupParts()

getDecider

public OutputPin getDecider()
Returns the value of the 'Decider' reference.

If the meaning of the 'Decider' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Decider' reference.
See Also:
setDecider(OutputPin), UML2Package.getLoopNode_Decider()

setDecider

public void setDecider(OutputPin value)
Sets the value of the 'Decider' reference.

Parameters:
value - the new value of the 'Decider' reference.
See Also:
getDecider()

getTests

public EList getTests()
Returns the value of the 'Test' reference list. The list contents are of type ActivityNode.

If the meaning of the 'Test' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Test' reference list.
See Also:
UML2Package.getLoopNode_Test()

getTest

public ActivityNode getTest(String unqualifiedName)
Retrieves the ActivityNode with the specified name from the 'Test' reference list.

Parameters:
unqualifiedName - The unqualified name of the ActivityNode to retrieve.
Returns:
The ActivityNode with the specified name, or null.
See Also:
getTests()

getResults

public EList getResults()
Returns the value of the 'Result' containment reference list. The list contents are of type OutputPin.

If the meaning of the 'Result' containment reference list isn't clear, there really should be more of a description here...

A list of output pins that constitute the data flow output of the entire loop.

Returns:
the value of the 'Result' containment reference list.
See Also:
UML2Package.getLoopNode_Result()

getResult

public OutputPin getResult(String unqualifiedName)
Retrieves the OutputPin with the specified name from the 'Result' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the OutputPin to retrieve.
Returns:
The OutputPin with the specified name, or null.
See Also:
getResults()

createResult

public OutputPin createResult(EClass eClass)
Creates a OutputPin and appends it to the 'Result' containment reference list.

Parameters:
eClass - The Ecore class of the OutputPin to create.
Returns:
The new OutputPin.
See Also:
getResults()

getLoopVariables

public EList getLoopVariables()
Returns the value of the 'Loop Variable' containment reference list. The list contents are of type OutputPin.

If the meaning of the 'Loop Variable' containment reference list isn't clear, there really should be more of a description here...

A list of output pins owned by the loop that hold the values of the loop variables during an execution of the loop. When the test fails, the values are copied to the result pins of the loop.

Returns:
the value of the 'Loop Variable' containment reference list.
See Also:
UML2Package.getLoopNode_LoopVariable()

getLoopVariable

public OutputPin getLoopVariable(String unqualifiedName)
Retrieves the OutputPin with the specified name from the 'Loop Variable' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the OutputPin to retrieve.
Returns:
The OutputPin with the specified name, or null.
See Also:
getLoopVariables()

createLoopVariable

public OutputPin createLoopVariable(EClass eClass)
Creates a OutputPin and appends it to the 'Loop Variable' containment reference list.

Parameters:
eClass - The Ecore class of the OutputPin to create.
Returns:
The new OutputPin.
See Also:
getLoopVariables()

getBodyOutputs

public EList getBodyOutputs()
Returns the value of the 'Body Output' reference list. The list contents are of type OutputPin.

If the meaning of the 'Body Output' reference list isn't clear, there really should be more of a description here...

A list of output pins within the body fragment the values of which are copied to the loop variable pins after completion of execution of the body, before the next iteration of the loop begins or before the loop exits.

Returns:
the value of the 'Body Output' reference list.
See Also:
UML2Package.getLoopNode_BodyOutput()

getBodyOutput

public OutputPin getBodyOutput(String unqualifiedName)
Retrieves the OutputPin with the specified name from the 'Body Output' reference list.

Parameters:
unqualifiedName - The unqualified name of the OutputPin to retrieve.
Returns:
The OutputPin with the specified name, or null.
See Also:
getBodyOutputs()

getLoopVariableInputs

public EList getLoopVariableInputs()
Returns the value of the 'Loop Variable Input' containment reference list. The list contents are of type InputPin.

If the meaning of the 'Loop Variable Input' containment reference list isn't clear, there really should be more of a description here...

A list of values that are copied into the loop variable pins before the first iteration of the loop.

Returns:
the value of the 'Loop Variable Input' containment reference list.
See Also:
UML2Package.getLoopNode_LoopVariableInput()

getLoopVariableInput

public InputPin getLoopVariableInput(String unqualifiedName)
Retrieves the InputPin with the specified name from the 'Loop Variable Input' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the InputPin to retrieve.
Returns:
The InputPin with the specified name, or null.
See Also:
getLoopVariableInputs()

createLoopVariableInput

public InputPin createLoopVariableInput(EClass eClass)
Creates a InputPin and appends it to the 'Loop Variable Input' containment reference list.

Parameters:
eClass - The Ecore class of the InputPin to create.
Returns:
The new InputPin.
See Also:
getLoopVariableInputs()

getOutputs

public EList getOutputs()

Specified by:
getOutputs in interface Action
Returns:
the value of the 'Output' reference list.
See Also:
UML2Package.getAction_Output()

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface Action

getInputs

public EList getInputs()

Specified by:
getInputs in interface Action
Returns:
the value of the 'Input' reference list.
See Also:
UML2Package.getAction_Input()

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.