|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Duration Observation'. A duration observation is a reference to a duration during an execution. It points out the element(s) in the model to observe and whether the observations are when this model element is entered or when it is exited.
The following features are supported:
UMLPackage.getDurationObservation()
Field Summary |
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
SEPARATOR |
Method Summary | |
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 |
EList |
getEvents()
Returns the value of the 'Event' reference list. |
EList |
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. |
Methods inherited from interface org.eclipse.uml2.uml.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 |
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Method Detail |
public EList getEvents()
NamedElement
.
The observation is determined by the entering or exiting of the event element during execution.
UMLPackage.getDurationObservation_Event()
public 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
.DurationObservation.getEvents()
public 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
.DurationObservation.getEvents()
public EList 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()
public boolean validateFirstEventMultiplicity(DiagnosticChain diagnostics, Map context)
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |