Package com.sodius.mdw.metamodel.uml21
Interface Action
-
- All Superinterfaces:
ActivityNode,Comparable<Object>,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,ExecutableNode,MDWEObject,MDWObject,NamedElement,org.eclipse.emf.common.notify.Notifier,RedefinableElement
- All Known Subinterfaces:
AcceptCallAction,AcceptEventAction,AddStructuralFeatureValueAction,AddVariableValueAction,BroadcastSignalAction,CallAction,CallBehaviorAction,CallOperationAction,ClearAssociationAction,ClearStructuralFeatureAction,ClearVariableAction,ConditionalNode,CreateLinkAction,CreateLinkObjectAction,CreateObjectAction,DestroyLinkAction,DestroyObjectAction,ExpansionRegion,InvocationAction,LinkAction,LoopNode,OpaqueAction,RaiseExceptionAction,ReadExtentAction,ReadIsClassifiedObjectAction,ReadLinkAction,ReadLinkObjectEndAction,ReadLinkObjectEndQualifierAction,ReadSelfAction,ReadStructuralFeatureAction,ReadVariableAction,ReclassifyObjectAction,ReduceAction,RemoveStructuralFeatureValueAction,RemoveVariableValueAction,ReplyAction,SendObjectAction,SendSignalAction,SequenceNode,StartClassifierBehaviorAction,StructuralFeatureAction,StructuredActivityNode,TestIdentityAction,UnmarshallAction,ValueSpecificationAction,VariableAction,WriteLinkAction,WriteStructuralFeatureAction,WriteVariableAction
public interface Action extends ExecutableNode
A representation of the model object 'Action'. An action is a named element that is the fundamental unit of executable functionality. The execution of an action represents some transformation or processing in the modeled system, be it a computer system or otherwise. An action represents a single step within an activity, that is, one that is not further decomposed within the activity. An action has pre- and post-conditions.The following features are supported:
- See Also:
UMLPackage.getAction()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConstraintcreateLocalPostcondition(String name)Creates a newConstraint, with the specified 'Name', and appends it to the ' Local Postcondition' containment reference list.ConstraintcreateLocalPostcondition(String name, org.eclipse.emf.ecore.EClass eClass)Creates a newConstraint, with the specified 'Name', and appends it to the ' Local Postcondition' containment reference list.ConstraintcreateLocalPrecondition(String name)Creates a newConstraint, with the specified 'Name', and appends it to the ' Local Precondition' containment reference list.ConstraintcreateLocalPrecondition(String name, org.eclipse.emf.ecore.EClass eClass)Creates a newConstraint, with the specified 'Name', and appends it to the ' Local Precondition' containment reference list.ClassifiergetContext()Returns the value of the 'Context' reference.InputPingetInput(String name, Type type)Retrieves the firstInputPinwith the specified 'Name', and 'Type' from the 'Input' reference list.InputPingetInput(String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstInputPinwith the specified 'Name', and 'Type' from the 'Input' reference list.MDWEList<InputPin>getInputs()Returns the value of the 'Input' reference list.ConstraintgetLocalPostcondition(String name)Retrieves the firstConstraintwith the specified 'Name' from the ' Local Postcondition' containment reference list.ConstraintgetLocalPostcondition(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)Retrieves the firstConstraintwith the specified 'Name' from the ' Local Postcondition' containment reference list.MDWEList<Constraint>getLocalPostconditions()Returns the value of the 'Local Postcondition' containment reference list.ConstraintgetLocalPrecondition(String name)Retrieves the firstConstraintwith the specified 'Name' from the ' Local Precondition' containment reference list.ConstraintgetLocalPrecondition(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)Retrieves the firstConstraintwith the specified 'Name' from the ' Local Precondition' containment reference list.MDWEList<Constraint>getLocalPreconditions()Returns the value of the 'Local Precondition' containment reference list.OutputPingetOutput(String name, Type type)Retrieves the firstOutputPinwith the specified 'Name', and 'Type' from the 'Output' reference list.OutputPingetOutput(String name, Type type, boolean ignoreCase)Retrieves the firstOutputPinwith the specified 'Name', and 'Type' from the 'Output' reference list.MDWEList<OutputPin>getOutputs()Returns the value of the 'Output' reference list.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ActivityNode
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
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
-
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 com.sodius.mdw.metamodel.uml21.ExecutableNode
createHandler, getHandlers
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
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
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.RedefinableElement
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
-
-
-
-
Method Detail
-
getOutputs
MDWEList<OutputPin> getOutputs()
Returns the value of the 'Output' reference list. The list contents are of typeOutputPin. The ordered set of output pins connected to the Action. The action places its results onto pins in this set.- Returns:
- the value of the 'Output' reference list.
- See Also:
UMLPackage.getAction_Output()
-
getOutput
OutputPin getOutput(String name, Type type)
Retrieves the firstOutputPinwith the specified 'Name', and 'Type' from the 'Output' reference list.- Parameters:
name- The 'Name' of theOutputPinto retrieve, ornull.type- The 'Type' of theOutputPinto retrieve, ornull.- Returns:
- The first
OutputPinwith the specified 'Name', and 'Type', ornull. - See Also:
getOutputs()
-
getOutput
OutputPin getOutput(String name, Type type, boolean ignoreCase)
Retrieves the firstOutputPinwith the specified 'Name', and 'Type' from the 'Output' reference list.- Parameters:
name- The 'Name' of theOutputPinto retrieve, ornull.type- The 'Type' of theOutputPinto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.- Returns:
- The first
OutputPinwith the specified 'Name', and 'Type', ornull. - See Also:
getOutputs()
-
getInputs
MDWEList<InputPin> getInputs()
Returns the value of the 'Input' reference list. The list contents are of typeInputPin. The ordered set of input pins connected to the Action. These are among the total set of inputs.- Returns:
- the value of the 'Input' reference list.
- See Also:
UMLPackage.getAction_Input()
-
getInput
InputPin getInput(String name, Type type)
Retrieves the firstInputPinwith the specified 'Name', and 'Type' from the 'Input' reference list.- Parameters:
name- The 'Name' of theInputPinto retrieve, ornull.type- The 'Type' of theInputPinto retrieve, ornull.- Returns:
- The first
InputPinwith the specified 'Name', and 'Type', ornull. - See Also:
getInputs()
-
getInput
InputPin getInput(String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstInputPinwith the specified 'Name', and 'Type' from the 'Input' reference list.- Parameters:
name- The 'Name' of theInputPinto retrieve, ornull.type- The 'Type' of theInputPinto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theInputPinto retrieve, ornull.- Returns:
- The first
InputPinwith the specified 'Name', and 'Type', ornull. - See Also:
getInputs()
-
getContext
Classifier getContext()
Returns the value of the 'Context' reference. The classifier that owns the behavior of which this action is a part.- Returns:
- the value of the 'Context' reference.
- See Also:
UMLPackage.getAction_Context()
-
getLocalPreconditions
MDWEList<Constraint> getLocalPreconditions()
Returns the value of the 'Local Precondition' containment reference list. The list contents are of typeConstraint. Constraint that must be satisfied when execution is started.- Returns:
- the value of the 'Local Precondition' containment reference list.
- See Also:
UMLPackage.getAction_LocalPrecondition()
-
createLocalPrecondition
Constraint createLocalPrecondition(String name, org.eclipse.emf.ecore.EClass eClass)
Creates a newConstraint, with the specified 'Name', and appends it to the ' Local Precondition' containment reference list.- Parameters:
name- The 'Name' for the newConstraint, ornull.eClass- The Ecore class of theConstraintto create.- Returns:
- The new
Constraint. - See Also:
getLocalPreconditions()
-
createLocalPrecondition
Constraint createLocalPrecondition(String name)
Creates a newConstraint, with the specified 'Name', and appends it to the ' Local Precondition' containment reference list.- Parameters:
name- The 'Name' for the newConstraint, ornull.- Returns:
- The new
Constraint. - See Also:
getLocalPreconditions()
-
getLocalPrecondition
Constraint getLocalPrecondition(String name)
Retrieves the firstConstraintwith the specified 'Name' from the ' Local Precondition' containment reference list.- Parameters:
name- The 'Name' of theConstraintto retrieve, ornull.- Returns:
- The first
Constraintwith the specified 'Name', ornull. - See Also:
getLocalPreconditions()
-
getLocalPrecondition
Constraint getLocalPrecondition(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Retrieves the firstConstraintwith the specified 'Name' from the ' Local Precondition' containment reference list.- Parameters:
name- The 'Name' of theConstraintto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theConstraintto retrieve, ornull.createOnDemand- Whether to create aConstrainton demand if not found.- Returns:
- The first
Constraintwith the specified 'Name', ornull. - See Also:
getLocalPreconditions()
-
getLocalPostconditions
MDWEList<Constraint> getLocalPostconditions()
Returns the value of the 'Local Postcondition' containment reference list. The list contents are of typeConstraint. Constraint that must be satisfied when executed is completed.- Returns:
- the value of the 'Local Postcondition' containment reference list.
- See Also:
UMLPackage.getAction_LocalPostcondition()
-
createLocalPostcondition
Constraint createLocalPostcondition(String name, org.eclipse.emf.ecore.EClass eClass)
Creates a newConstraint, with the specified 'Name', and appends it to the ' Local Postcondition' containment reference list.- Parameters:
name- The 'Name' for the newConstraint, ornull.eClass- The Ecore class of theConstraintto create.- Returns:
- The new
Constraint. - See Also:
getLocalPostconditions()
-
createLocalPostcondition
Constraint createLocalPostcondition(String name)
Creates a newConstraint, with the specified 'Name', and appends it to the ' Local Postcondition' containment reference list.- Parameters:
name- The 'Name' for the newConstraint, ornull.- Returns:
- The new
Constraint. - See Also:
getLocalPostconditions()
-
getLocalPostcondition
Constraint getLocalPostcondition(String name)
Retrieves the firstConstraintwith the specified 'Name' from the ' Local Postcondition' containment reference list.- Parameters:
name- The 'Name' of theConstraintto retrieve, ornull.- Returns:
- The first
Constraintwith the specified 'Name', ornull. - See Also:
getLocalPostconditions()
-
getLocalPostcondition
Constraint getLocalPostcondition(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Retrieves the firstConstraintwith the specified 'Name' from the ' Local Postcondition' containment reference list.- Parameters:
name- The 'Name' of theConstraintto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theConstraintto retrieve, ornull.createOnDemand- Whether to create aConstrainton demand if not found.- Returns:
- The first
Constraintwith the specified 'Name', ornull. - See Also:
getLocalPostconditions()
-
-