public interface Trigger extends NamedElement
From package UML::CommonBehavior.
The following features are supported:
UMLPackage.getTrigger()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Event |
getEvent()
Returns the value of the 'Event' reference
|
Port |
getPort(java.lang.String name,
Type type)
Retrieves the first
Port with the specified 'Name', and 'Type' from the 'Port' reference list |
Port |
getPort(java.lang.String name,
Type type,
boolean ignoreCase)
Retrieves the first
Port with the specified 'Name', and 'Type' from the 'Port' reference list |
org.eclipse.emf.common.util.EList<Port> |
getPorts()
Returns the value of the 'Port' reference list.
|
void |
setEvent(Event value)
Sets the value of the '
Event ' reference |
boolean |
validateTriggerWithPorts(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If a Trigger specifies one or more ports, the event of the Trigger must be a MessageEvent.
|
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, 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
getEAnnotation, getEAnnotations
Event getEvent()
From package UML::CommonBehavior.
setEvent(Event)
,
UMLPackage.getTrigger_Event()
void setEvent(Event value)
Event
' reference.
value
- the new value of the 'Event' reference.getEvent()
org.eclipse.emf.common.util.EList<Port> getPorts()
Port
.
A optional Port of through which the given effect is detected.
From package UML::CommonBehavior.
UMLPackage.getTrigger_Port()
Port getPort(java.lang.String name, Type type)
Port
with the specified 'Name', and 'Type' from the 'Port' reference list.
name
- The 'Name' of the Port
to retrieve, or null
.type
- The 'Type' of the Port
to retrieve, or null
.Port
with the specified 'Name', and 'Type', or null
.getPorts()
Port getPort(java.lang.String name, Type type, boolean ignoreCase)
Port
with the specified 'Name', and 'Type' from the 'Port' reference list.
name
- The 'Name' of the Port
to retrieve, or null
.type
- The 'Type' of the Port
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.Port
with the specified 'Name', and 'Type', or null
.getPorts()
boolean validateTriggerWithPorts(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.