public interface AcceptEventAction extends Action
The following features are supported:
UMLPackage.getAcceptEventAction()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
OutputPin |
createResult(String name,
Type type)
Creates a new
OutputPin , with the specified 'Name', and 'Type', and
appends it to the 'Result' containment reference list |
Trigger |
createTrigger(String name)
Creates a new
Trigger , with the specified 'Name', and appends it to the '
Trigger' containment reference list |
OutputPin |
getResult(String name,
Type type)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from
the 'Result' containment reference list |
OutputPin |
getResult(String name,
Type type,
boolean ignoreCase)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from
the 'Result' reference list |
OutputPin |
getResult(String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from
the 'Result' containment reference list |
MDWEList<OutputPin> |
getResults()
Returns the value of the 'Result' containment reference list.
|
Trigger |
getTrigger(String name)
Retrieves the first
Trigger with the specified 'Name' from the 'Trigger'
containment reference list |
Trigger |
getTrigger(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Trigger with the specified 'Name' from the 'Trigger'
containment reference list |
MDWEList<Trigger> |
getTriggers()
Returns the value of the 'Trigger' containment reference list.
|
boolean |
isUnmarshall()
Returns the value of the 'Is Unmarshall' attribute.
|
void |
setIsUnmarshall(boolean value)
Sets the value of the '
Is Unmarshall ' attribute |
boolean |
validateNoInputPins(DiagnosticChain diagnostics,
Map context)
AcceptEventActions may have no input pins.
|
boolean |
validateNoOutputPins(DiagnosticChain diagnostics,
Map context)
There are no output pins if the trigger events are only ChangeEvents, or if they are only CallEvents when this action is an instance of
AcceptEventAction and not an instance of a descendant of AcceptEventAction (such as AcceptCallAction).
|
boolean |
validateTriggerEvents(DiagnosticChain diagnostics,
Map context)
If the trigger events are all TimeEvents, there is exactly one output pin.
|
boolean |
validateUnmarshallSignalEvents(DiagnosticChain diagnostics,
Map context)
If isUnmarshall is true, there must be exactly one trigger for events of type SignalEvent.
|
createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs
createHandler, getHandlers
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
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
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
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
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
boolean isUnmarshall()
"false"
.
Indicates whether there is a single output pin for the event, or multiple output pins for attributes of the event.
setIsUnmarshall(boolean)
,
UMLPackage.getAcceptEventAction_IsUnmarshall()
void setIsUnmarshall(boolean value)
Is Unmarshall
' attribute.
value
- the new value of the 'Is Unmarshall' attribute.isUnmarshall()
MDWEList<OutputPin> getResults()
OutputPin
.
Pins holding the received event objects or their attributes. Event objects may be copied in transmission, so identity might not be preserved.
UMLPackage.getAcceptEventAction_Result()
OutputPin createResult(String name, Type type)
OutputPin
, with the specified 'Name', and 'Type', and
appends it to the 'Result' containment reference list.
name
- The 'Name' for the new OutputPin
, or null
.type
- The 'Type' for the new OutputPin
, or null
.OutputPin
.getResults()
OutputPin getResult(String name, Type type)
OutputPin
with the specified 'Name', and 'Type' from
the 'Result' containment 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
.getResults()
OutputPin getResult(String name, Type type, boolean ignoreCase, boolean createOnDemand)
OutputPin
with the specified 'Name', and 'Type' from
the 'Result' containment 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.createOnDemand
- Whether to create a OutputPin
on demand if not found.OutputPin
with the specified 'Name', and 'Type', or
null
.getResults()
OutputPin getResult(String name, Type type, boolean ignoreCase)
OutputPin
with the specified 'Name', and 'Type' from
the 'Result' 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
.getResults()
MDWEList<Trigger> getTriggers()
Trigger
.
The type of events accepted by the action, as specified by triggers. For triggers with signal events, a signal of the specified type or any
subtype of the specified signal type is accepted.
UMLPackage.getAcceptEventAction_Trigger()
Trigger createTrigger(String name)
Trigger
, with the specified 'Name', and appends it to the '
Trigger' containment reference list.
name
- The 'Name' for the new Trigger
, or null
.Trigger
.getTriggers()
Trigger getTrigger(String name)
Trigger
with the specified 'Name' from the 'Trigger'
containment reference list.
name
- The 'Name' of the Trigger
to retrieve, or null
.Trigger
with the specified 'Name', or null
.getTriggers()
Trigger getTrigger(String name, boolean ignoreCase, boolean createOnDemand)
Trigger
with the specified 'Name' from the 'Trigger'
containment reference list.
name
- The 'Name' of the Trigger
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Trigger
on demand if not found.Trigger
with the specified 'Name', or null
.getTriggers()
boolean validateNoInputPins(DiagnosticChain diagnostics, Map context)
boolean validateNoOutputPins(DiagnosticChain diagnostics, Map context)
boolean validateTriggerEvents(DiagnosticChain diagnostics, Map context)
boolean validateUnmarshallSignalEvents(DiagnosticChain diagnostics, Map context)