uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.JumpActions
Interface HandlerAction
- All Superinterfaces:
- Action, Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
- All Known Implementing Classes:
- HandlerAction_Impl
public interface HandlerAction
- extends Action
An action may have zero or more handlers attached to it. A
handler deals with jumps that occur during the execution of its
underlying action. A jump handler associates actions and jump
types with the handler actions that replace the actions if a
jump of the given type (or a descendant of the jump type)
occurs. An action used as a handler is a kind of composite
action. It must have one internal output pin; the output pin
receives the jump occurrence object and makes it available
within the handler action. A jump handler action must have a
list of output pins that matches in number, order, and types
the outputs of the action for which it handles jumps. If it
does not have a matching list of output pins, it may still
catch the jump, but it must re-raise the same or another jump
rather than completing normally (otherwise the outputs of the
original action would not be defined). The handler action has a
body action (often a group action) that it executes. The
occurrence pin is available to the body action as an available
input.
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ActionFoundation.Action |
getAntecedent, getAvailableInput, getAvailableOutput, getConsequent, getGroup, getInputPin, getIsReadOnly, getJumpHandler, getOutputPin, setGroup, setIsReadOnly |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
Methods inherited from interface javax.jmi.reflect.RefObject |
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
getBody
Action getBody()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
setBody
void setBody(Action body)
throws javax.jmi.reflect.JmiException
- Setter for atomic property body)
- Throws:
javax.jmi.reflect.JmiException
getOccurrence
OutputPin getOccurrence()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
setOccurrence
void setOccurrence(OutputPin occurrence)
throws javax.jmi.reflect.JmiException
- Setter for atomic property occurrence)
- Throws:
javax.jmi.reflect.JmiException