Package com.sodius.mdw.metamodel.uml21
Interface Trigger
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
public interface Trigger extends NamedElement
A representation of the model object 'Trigger'. A trigger relates an event to a behavior that may affect an instance of the classifier. A trigger specification may be qualified by the port on which the event occurred.The following features are supported:
- See Also:
UMLPackage.getTrigger()
-
-
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 Event
getEvent()
Returns the value of the 'Event' reference.Port
getPort(String name, Type type)
Retrieves the firstPort
with the specified 'Name', and 'Type' from the 'Port' reference list.Port
getPort(String name, Type type, boolean ignoreCase)
Retrieves the firstPort
with the specified 'Name', and 'Type' from the 'Port' reference list.MDWEList<Port>
getPorts()
Returns the value of the 'Port' reference list.void
setEvent(Event value)
Sets the value of the 'Event
' reference.-
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.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
-
-
-
-
Method Detail
-
getEvent
Event getEvent()
Returns the value of the 'Event' reference. The event that causes the trigger.- Returns:
- the value of the 'Event' reference.
- See Also:
setEvent(Event)
,UMLPackage.getTrigger_Event()
-
setEvent
void setEvent(Event value)
Sets the value of the 'Event
' reference.- Parameters:
value
- the new value of the 'Event' reference.- See Also:
getEvent()
-
getPorts
MDWEList<Port> getPorts()
Returns the value of the 'Port' reference list. The list contents are of typePort
. A optional port of the receiver object on which the behavioral feature is invoked.- Returns:
- the value of the 'Port' reference list.
- See Also:
UMLPackage.getTrigger_Port()
-
getPort
Port getPort(String name, Type type)
Retrieves the firstPort
with the specified 'Name', and 'Type' from the 'Port' reference list.- Parameters:
name
- The 'Name' of thePort
to retrieve, ornull
.type
- The 'Type' of thePort
to retrieve, ornull
.- Returns:
- The first
Port
with the specified 'Name', and 'Type', ornull
. - See Also:
getPorts()
-
getPort
Port getPort(String name, Type type, boolean ignoreCase)
Retrieves the firstPort
with the specified 'Name', and 'Type' from the 'Port' reference list.- Parameters:
name
- The 'Name' of thePort
to retrieve, ornull
.type
- The 'Type' of thePort
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.- Returns:
- The first
Port
with the specified 'Name', and 'Type', ornull
. - See Also:
getPorts()
-
-