Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML Profiles
UML Profiles [message #478383] Tue, 12 May 2009 14:59 Go to next message
Samuel is currently offline SamuelFriend
Messages: 31
Registered: July 2009
Member
Hi,

Currently I'm trying to express relations between UML elements in a
profile.
For example I want to define that a 'connector' owns two 'connector ends'.
Do I do this using nested stereotypes (nesting two stereotypes extending a
connector end in a stereotype extending a connector), or is there another
way to express this relation?

Cheers,

Samuel
Re: UML Profiles [message #478417 is a reply to message #478383] Tue, 19 May 2009 14:58 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Samuel,

Perhaps an OCL may be the best way to express such constraints?

- James.

"Samuel " <samuel.esposito@gmail.com> wrote in message
news:ea7215130db27df4f7b2e45a39546c1a$1@www.eclipse.org...
> Hi,
>
> Currently I'm trying to express relations between UML elements in a
> profile. For example I want to define that a 'connector' owns two
> 'connector ends'. Do I do this using nested stereotypes (nesting two
> stereotypes extending a connector end in a stereotype extending a
> connector), or is there another way to express this relation?
>
> Cheers,
>
> Samuel
>
Re: UML Profiles [message #478461 is a reply to message #478417] Tue, 26 May 2009 18:16 Go to previous message
Samuel is currently offline SamuelFriend
Messages: 31
Registered: July 2009
Member
Thanks for your reply James! I will go with the OCL constraints then.

Samuel
Re: UML Profiles [message #627602 is a reply to message #478383] Tue, 19 May 2009 14:58 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Samuel,

Perhaps an OCL may be the best way to express such constraints?

- James.

"Samuel " <samuel.esposito@gmail.com> wrote in message
news:ea7215130db27df4f7b2e45a39546c1a$1@www.eclipse.org...
> Hi,
>
> Currently I'm trying to express relations between UML elements in a
> profile. For example I want to define that a 'connector' owns two
> 'connector ends'. Do I do this using nested stereotypes (nesting two
> stereotypes extending a connector end in a stereotype extending a
> connector), or is there another way to express this relation?
>
> Cheers,
>
> Samuel
>
Re: UML Profiles [message #627636 is a reply to message #478417] Tue, 26 May 2009 18:16 Go to previous message
Samuel is currently offline SamuelFriend
Messages: 31
Registered: July 2009
Member
Thanks for your reply James! I will go with the OCL constraints then.

Samuel
Previous Topic:standard primitive types available?
Next Topic:Default value of EBooleanObject
Goto Forum:
  


Current Time: Thu Dec 18 22:30:19 GMT 2014

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

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