org.eclipse.uml2
Interface Action

All Superinterfaces:
ActivityNode, Element, EModelElement, EObject, ExecutableNode, NamedElement, Notifier, RedefinableElement, TemplateableElement
All Known Subinterfaces:
AcceptCallAction, AcceptEventAction, AddStructuralFeatureValueAction, AddVariableValueAction, ApplyFunctionAction, BroadcastSignalAction, CallAction, CallBehaviorAction, CallOperationAction, ClearAssociationAction, ClearStructuralFeatureAction, ClearVariableAction, ConditionalNode, CreateLinkAction, CreateLinkObjectAction, CreateObjectAction, DestroyLinkAction, DestroyObjectAction, DurationObservationAction, ExpansionRegion, InvocationAction, LinkAction, LoopNode, RaiseExceptionAction, ReadExtentAction, ReadIsClassifiedObjectAction, ReadLinkAction, ReadLinkObjectEndAction, ReadLinkObjectEndQualifierAction, ReadSelfAction, ReadStructuralFeatureAction, ReadVariableAction, ReclassifyObjectAction, RemoveStructuralFeatureValueAction, RemoveVariableValueAction, ReplyAction, SendObjectAction, SendSignalAction, StartOwnedBehaviorAction, StructuralFeatureAction, StructuredActivityNode, TestIdentityAction, TimeObservationAction, VariableAction, WriteLinkAction, WriteStructuralFeatureAction, WriteVariableAction

public interface Action
extends ExecutableNode

A representation of the model object 'Action'.

The following features are supported:

See Also:
UML2Package.getAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Constraint createLocalPostcondition(EClass eClass)
          Creates a Constraint and appends it to the 'Local Postcondition' containment reference list
 Constraint createLocalPrecondition(EClass eClass)
          Creates a Constraint and appends it to the 'Local Precondition' containment reference list
 Classifier getContext()
          Returns the value of the 'Context' reference
 String getEffect()
          Returns the value of the 'Effect' attribute.
 InputPin getInput(String unqualifiedName)
          Retrieves the InputPin with the specified name from the 'Input' reference list
 EList getInputs()
          Returns the value of the 'Input' reference list.
 Constraint getLocalPostcondition(String unqualifiedName)
          Retrieves the Constraint with the specified name from the 'Local Postcondition' containment reference list
 EList getLocalPostconditions()
          Returns the value of the 'Local Postcondition' containment reference list.
 Constraint getLocalPrecondition(String unqualifiedName)
          Retrieves the Constraint with the specified name from the 'Local Precondition' containment reference list
 EList getLocalPreconditions()
          Returns the value of the 'Local Precondition' containment reference list.
 OutputPin getOutput(String unqualifiedName)
          Retrieves the OutputPin with the specified name from the 'Output' reference list
 EList getOutputs()
          Returns the value of the 'Output' reference list.
 EList getOwnedElements()
           
 void setEffect(String value)
          Sets the value of the 'Effect' attribute
 
Methods inherited from interface org.eclipse.uml2.ExecutableNode
createHandler, getHandlers
 
Methods inherited from interface org.eclipse.uml2.ActivityNode
getActivity, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, getOwner, getRedefinedElement, getRedefinedElements, setActivity, 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
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getEffect

public String getEffect()
Returns the value of the 'Effect' attribute. The default value is "".

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

Returns:
the value of the 'Effect' attribute.
See Also:
setEffect(String), UML2Package.getAction_Effect()

setEffect

public void setEffect(String value)
Sets the value of the 'Effect' attribute.

Parameters:
value - the new value of the 'Effect' attribute.
See Also:
getEffect()

getOutputs

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

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

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

getOutput

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

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

getInputs

public EList getInputs()
Returns the value of the 'Input' reference list. The list contents are of type InputPin.

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

Returns:
the value of the 'Input' reference list.
See Also:
UML2Package.getAction_Input()

getInput

public InputPin getInput(String unqualifiedName)
Retrieves the InputPin with the specified name from the 'Input' reference list.

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

getContext

public Classifier getContext()
Returns the value of the 'Context' reference.

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

Returns:
the value of the 'Context' reference.
See Also:
UML2Package.getAction_Context()

getLocalPreconditions

public EList getLocalPreconditions()
Returns the value of the 'Local Precondition' containment reference list. The list contents are of type Constraint.

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

Constraint that must be satisfied when execution is started.

Returns:
the value of the 'Local Precondition' containment reference list.
See Also:
UML2Package.getAction_LocalPrecondition()

getLocalPrecondition

public Constraint getLocalPrecondition(String unqualifiedName)
Retrieves the Constraint with the specified name from the 'Local Precondition' containment reference list.

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

createLocalPrecondition

public Constraint createLocalPrecondition(EClass eClass)
Creates a Constraint and appends it to the 'Local Precondition' containment reference list.

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

getLocalPostconditions

public EList getLocalPostconditions()
Returns the value of the 'Local Postcondition' containment reference list. The list contents are of type Constraint.

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

Constraint that must be satisfied when executed is completed.

Returns:
the value of the 'Local Postcondition' containment reference list.
See Also:
UML2Package.getAction_LocalPostcondition()

getLocalPostcondition

public Constraint getLocalPostcondition(String unqualifiedName)
Retrieves the Constraint with the specified name from the 'Local Postcondition' containment reference list.

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

createLocalPostcondition

public Constraint createLocalPostcondition(EClass eClass)
Creates a Constraint and appends it to the 'Local Postcondition' containment reference list.

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

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface ExecutableNode

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