Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Constraints vs. additional operations
Constraints vs. additional operations [message #472720] Sun, 22 April 2007 12:41 Go to next message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
Hi,

What is the difference between the constraints defined in the additional
operations” subsection and the constraints defined in the “Constraints”
subsection?

What is the usage of the queries defined in the “additional operations”
subsection?


Thanks in advance
Manar
Re: Constraints vs. additional operations [message #472740 is a reply to message #472720] Mon, 23 April 2007 22:22 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Manar,

Some comments below ...

- James.

"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:f0fl7b$goh$1@build.eclipse.org...
>
> Hi,
>
> What is the difference between the constraints defined in the additional
> operations
Re: Constraints vs. additional operations [message #472743 is a reply to message #472740] Mon, 23 April 2007 22:58 Go to previous messageGo to next message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
James,

Thanks for this illustration, I get it.

Manar

James Bruck wrote:
> Hi Manar,
>
> Some comments below ...
>
> - James.
>
> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
> news:f0fl7b$goh$1@build.eclipse.org...
>> Hi,
>>
>> What is the difference between the constraints defined in the additional
>> operations” subsection and the constraints defined in the “Constraints”
>> subsection?
>
> The "Additional Operations" are just convenience methods that may or may not
> be useful to users of the API. For example on p543 we have
> containingStatemachine() which returns the Statemachien in which this Region
> is defined. This is a handy operation.
>
> The "Constraints" section define actual restrictions on how instances of the
> UML metamodel may be formulated. It says something about the validity of a
> model. Additional operations say nothing about the validity of the model.
>
>> What is the usage of the queries defined in the “additional operations”
>> subsection?
>
> You can call such queries as you would call any operation on the API.
>
>>
>> Thanks in advance
>> Manar
>
>
Re: Constraints vs. additional operations [message #472744 is a reply to message #472740] Tue, 24 April 2007 01:59 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Note that the "additional operations" were defined in the specification for
use in the standard constraints, but as James says, they may or may not also
be useful to clients of the API.

Kenn

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:f0jbjr$q8j$2@build.eclipse.org...
> Hi Manar,
>
> Some comments below ...
>
> - James.
>
> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
> news:f0fl7b$goh$1@build.eclipse.org...
>>
>> Hi,
>>
>> What is the difference between the constraints defined in the additional
>> operations" subsection and the constraints defined in the "Constraints"
>> subsection?
>
> The "Additional Operations" are just convenience methods that may or may
> not
> be useful to users of the API. For example on p543 we have
> containingStatemachine() which returns the Statemachien in which this
> Region
> is defined. This is a handy operation.
>
> The "Constraints" section define actual restrictions on how instances of
> the
> UML metamodel may be formulated. It says something about the validity of
> a
> model. Additional operations say nothing about the validity of the
> model.
>
>>
>> What is the usage of the queries defined in the "additional operations"
>> subsection?
>
> You can call such queries as you would call any operation on the API.
>
>>
>>
>> Thanks in advance
>> Manar
>
>
Re: Constraints vs. additional operations [message #611036 is a reply to message #472720] Mon, 23 April 2007 22:22 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Manar,

Some comments below ...

- James.

"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:f0fl7b$goh$1@build.eclipse.org...
>
> Hi,
>
> What is the difference between the constraints defined in the additional
> operations
Re: Constraints vs. additional operations [message #611038 is a reply to message #472740] Mon, 23 April 2007 22:58 Go to previous message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
James,

Thanks for this illustration, I get it.

Manar

James Bruck wrote:
> Hi Manar,
>
> Some comments below ...
>
> - James.
>
> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
> news:f0fl7b$goh$1@build.eclipse.org...
>> Hi,
>>
>> What is the difference between the constraints defined in the additional
>> operations” subsection and the constraints defined in the “Constraints”
>> subsection?
>
> The "Additional Operations" are just convenience methods that may or may not
> be useful to users of the API. For example on p543 we have
> containingStatemachine() which returns the Statemachien in which this Region
> is defined. This is a handy operation.
>
> The "Constraints" section define actual restrictions on how instances of the
> UML metamodel may be formulated. It says something about the validity of a
> model. Additional operations say nothing about the validity of the model.
>
>> What is the usage of the queries defined in the “additional operations”
>> subsection?
>
> You can call such queries as you would call any operation on the API.
>
>>
>> Thanks in advance
>> Manar
>
>
Re: Constraints vs. additional operations [message #611039 is a reply to message #472740] Tue, 24 April 2007 01:59 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Note that the "additional operations" were defined in the specification for
use in the standard constraints, but as James says, they may or may not also
be useful to clients of the API.

Kenn

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:f0jbjr$q8j$2@build.eclipse.org...
> Hi Manar,
>
> Some comments below ...
>
> - James.
>
> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
> news:f0fl7b$goh$1@build.eclipse.org...
>>
>> Hi,
>>
>> What is the difference between the constraints defined in the additional
>> operations" subsection and the constraints defined in the "Constraints"
>> subsection?
>
> The "Additional Operations" are just convenience methods that may or may
> not
> be useful to users of the API. For example on p543 we have
> containingStatemachine() which returns the Statemachien in which this
> Region
> is defined. This is a handy operation.
>
> The "Constraints" section define actual restrictions on how instances of
> the
> UML metamodel may be formulated. It says something about the validity of
> a
> model. Additional operations say nothing about the validity of the
> model.
>
>>
>> What is the usage of the queries defined in the "additional operations"
>> subsection?
>
> You can call such queries as you would call any operation on the API.
>
>>
>>
>> Thanks in advance
>> Manar
>
>
Previous Topic:Questions in Extension mechanisms
Next Topic:Re: No primitive types in .ecore files (party.javalang.String, ...)
Goto Forum:
  


Current Time: Fri Apr 26 15:55:19 GMT 2024

Powered by FUDForum. Page generated in 0.25911 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top