Home » Modeling » OCL » How to check the types of containment?
| How to check the types of containment? [message #485315] |
Fri, 11 September 2009 06:55  |
|
Originally posted by: formatzeh.gmx.de
Hello,
imagine I have class defined (CompositionModel) in my meta model which
has a containment reference (1..*) to an abstract class (AbstractModel).
I have several concrete classes (ModelA, ModelB, ...) inheriting from
that abstract class. Now I want to write an ocl constraint for
CompositionModel expressing that every concrete class can only be
contained once in the CompositionModel class. How can I express this? I
have to count the contained types for every ModelA, ModelB, ... anyway.
Can you help me?
best regards,
Gilbert
|
|
|
 |
|
How to check the types of containment?
By: Eclipse User on Fri, 11 September 2009 06:55 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Fri, 11 September 2009 09:41 |
 |
|
Re: How to check the types of containment?
By: Ed Merks on Fri, 11 September 2009 09:47 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Fri, 11 September 2009 11:05 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Sat, 12 September 2009 09:57 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Mon, 14 September 2009 17:55 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Tue, 15 September 2009 11:07 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Tue, 15 September 2009 12:04 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Wed, 16 September 2009 07:03 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Wed, 16 September 2009 12:58 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Fri, 18 September 2009 05:13 |
 |
|
Re: How to check the types of containment?
By: Eclipse User on Wed, 16 September 2009 13:22 |
 |
|
Re: How to check the types of containment?
|
 |
|
Re: How to check the types of containment?
By: Eclipse User on Wed, 16 September 2009 07:11 |
 |
|
Re: How to check the types of containment?
|
Goto Forum:
Current Time: Tue May 21 03:35:19 EDT 2013
Powered by FUDForum. Page generated in 0.01747 seconds
|