public interface DurationObservation extends Observation
From package UML::Values.
The following features are supported:
UMLPackage.getDurationObservation()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
NamedElement |
getEvent(java.lang.String name)
Retrieves the first
NamedElement with the specified 'Name' from the 'Event' reference list |
NamedElement |
getEvent(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first
NamedElement with the specified 'Name' from the 'Event' reference list |
org.eclipse.emf.common.util.EList<NamedElement> |
getEvents()
Returns the value of the 'Event' reference list.
|
org.eclipse.emf.common.util.EList<java.lang.Boolean> |
getFirstEvents()
Returns the value of the 'First Event' attribute list.
|
boolean |
validateFirstEventMultiplicity(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The multiplicity of firstEvent must be 2 if the multiplicity of event is 2.
|
validateNamespaceNeedsVisibility
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
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
getEAnnotation, getEAnnotations
org.eclipse.emf.common.util.EList<NamedElement> getEvents()
NamedElement
.
The DurationObservation is determined as the duration between the entering or exiting of a single event Element during execution, or the entering/exiting of one event Element and the entering/exiting of a second.
From package UML::Values.
UMLPackage.getDurationObservation_Event()
NamedElement getEvent(java.lang.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(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.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()
org.eclipse.emf.common.util.EList<java.lang.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].
From package UML::Values.
UMLPackage.getDurationObservation_FirstEvent()
boolean validateFirstEventMultiplicity(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.