Re: Time in OCL
Sequence diagrams enable the representation of time and duration
constraints. These concepts are in the metaclasses TimeConstraint,
TimeInterval, TimeEvent, TimeExpression and TimeObservationAction for
constraints on time. There are equivalent metaclasses for constraints on
duration. See the package CommonBehaviors - Simple Time.
Aline L. Baroni
----- Original Message -----
From: "Steffen Zschaler" <firstname.lastname@example.org>
Sent: Friday, October 28, 2005 1:20 PM
Subject: Re: Time in OCL
> Dear Irfan,
> OCL per se does not support such constraints. There is some limited
> support for timing constraints in the UML, though (I think in the area of
> sequence diagrams). Other than that, you may want to check out the "UML
> Profile for Scheduling, Performance, and Time Specification" if your
> interest is mainly in performance engineering, or languages like QML or
> CQML (and CQML+) if your interest lies more in the area of guaranteed
> real-time properties.
> Best wishes,
> Irfan Hamid wrote:
>> Is there a way to use time expressions in OCL? Like in the postcondition
>> can I use an expression such as
>> time@pre or time( )@pre
>> I need this to be able to express real-time constraints on operations.
> Dipl.-Inf. Steffen Zschaler
> Research Assistant
> Technische Universität Dresden
> Department of Computer Science
> Phone +49 351 463 38555
> Fax +49 351 463 38459
> Email Steffen.Zschaler@inf.tu-dresden.de
> WWW http://www.steffen-zschaler.de.vu/
> To remove yourself from this list please mail
> with a message containing the word "unsubscribe".
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.12.5/150 - Release Date: 27-10-2005
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.5/150 - Release Date: 27-10-2005
Received on Fri Oct 28 15:37:50 2005