public interface DurationObservation extends Observation
The following features are supported:
UMLPackage.getDurationObservation()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
NamedElement |
getEvent(String name)
Retrieves the first
NamedElement with the specified 'Name' from the '
Event' reference list |
NamedElement |
getEvent(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
NamedElement with the specified 'Name' from the '
Event' reference list |
MDWEList<NamedElement> |
getEvents()
Returns the value of the 'Event' reference list.
|
MDWEList<Boolean> |
getFirstEvents()
Returns the value of the 'First Event' attribute list.
|
boolean |
validateFirstEventMultiplicity(DiagnosticChain diagnostics,
Map context)
The multiplicity of firstEvent must be 2 if the multiplicity of event is 2.
|
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
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
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
MDWEList<NamedElement> getEvents()
NamedElement
.
The observation is determined by the entering or exiting of the event element during execution.
UMLPackage.getDurationObservation_Event()
NamedElement getEvent(String name)
NamedElement
with the specified 'Name' from the '
Event' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.NamedElement
with the specified 'Name', or null
.getEvents()
NamedElement getEvent(String name, boolean ignoreCase, EClass eClass)
NamedElement
with the specified 'Name' from the '
Event' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the NamedElement
to retrieve, or null
.NamedElement
with the specified 'Name', or null
.getEvents()
MDWEList<Boolean> getFirstEvents()
Boolean
.
The value of firstEvent[i] is related to event[i] (where i is 1 or 2). If firstEvent[i] is true, then the corresponding observation event is
the first time instant the execution enters event[i]. If firstEvent[i] is false, then the corresponding observation event is the time instant
the execution exits event[i]. Default value is true applied when event[i] refers an element that represents only one time instant.
UMLPackage.getDurationObservation_FirstEvent()
boolean validateFirstEventMultiplicity(DiagnosticChain diagnostics, Map context)