Class UML 2.4.1::DurationConstraint
Description:
A duration constraint is a constraint that refers to a duration interval.
Direct Superclasses: IntervalConstraintDirect Subclasses: Class Precedence List: DurationConstraint,
IntervalConstraint,
Constraint,
PackageableElement,
ParameterableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
firstEvent : Boolean (0 2); -- source
DurationConstraint![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
specification :
DurationInterval (1 1); -- source
DurationConstraint![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
constrainedElement :
Element (0 *); -- source
Constraint![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
context :
Namespace (0 1); -- source
Constraint![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
visibility :
VisibilityKind (1 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
templateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=12184%3AAB3A1CF55FF89E53FECFFF995B05E7E3)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: first_event_multiplicity() : Boolean;
Description: The multiplicity of firstEvent must be 2 if the multiplicity of constrainedElement
is 2. Otherwise the multiplicity of firstEvent is 0.
The OCL used here is not normative.Editor's notes: Added endif.
Expression: if (constrainedElement->size() =2)
then (firstEvent->size() = 2) else (firstEvent->size() = 0) endif
Original: if (constrainedElement->size() =2) then (firstEvent->size() = 2) else (firstEvent->size() = 0)
Operations:
No additional operations.
Send questions or comments to
[email protected].