Class UML 2.3::DurationObservation
Description:
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.
Direct Superclasses: ObservationDirect Subclasses: Class Precedence List: DurationObservation,
Observation,
PackageableElement,
ParameterableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/right-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
event :
NamedElement (1 2); -- source
DurationObservation The observation is determined by the entering or exiting of the event element
during execution.
![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
firstEvent : Boolean (0 2); -- source
DurationObservation![](/se-interop/image/right-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
visibility :
VisibilityKind (1 1); -- source
PackageableElement Indicates that packageable elements must always have a visibility, i.e.,
visibility is not optional.
Redefines: NamedElement.visibility
Default value: PUBLIC
![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
templateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/right-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
clientDependency :
Dependency (0 *); -- source
NamedElement Indicates the dependencies that reference the client.
Opposite: Dependency.client
![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/right-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
qualifiedName : String (0 1); -- source
NamedElement A name which allows the NamedElement to be identified within a hierarchy
of nested Namespaces. It is constructed from the names of the containing
namespaces starting at the root of the hierarchy and ending with the name
of the NamedElement itself.
{
readonly,
derived}
![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=58130%3A664E5CF7B539C603057ABB9D25F1A6C3)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: first_event_multiplicity() : Boolean;
Description: The multiplicity of firstEvent must be 2 if the multiplicity of event is
2. Otherwise the multiplicity of firstEvent is 0.
The OCL used here is not normative.Editor's notes: Added endif.
Expression: if (event->size() = 2)
then (firstEvent->size() = 2) else (firstEvent->size() = 0) endif
Original: if (event->size() = 2)
then (firstEvent->size() = 2) else (firstEvent->size() = 0)
Operations:
No additional operations.
Send questions or comments to
[email protected].