Re: [argouml-dev] Multiplicity Question & OCL

Mark Fortner <[email protected]> Sun, 1 Apr 2012 11:55:16 -0700
Newsgroups gmane.comp.db.axion.devel
Message-ID <CAOwy01v_sZCqnKQb3HV_EPQaLY4kUiz0=yU4MoMwjBLmkX91OQ__2961.78261419318$1333306522$gmane$org@mail.gmail.com>
Hi Bob,
I created a simple class diagram with a Department <>-----> [1..*]Employee
association.  The association end in the Department object (called
employeeList) contains the element-type annotation that I mentioned.

Mark

On Sun, Apr 1, 2012 at 11:45 AM, Bob Tarling <[email protected]> wrote:

> What kind of UML model creates this?
>
> Bob
>
>
> On 1 April 2012 19:12, Mark Fortner <[email protected]> wrote:
>
>> I've been taking a look at fixing the problem of generating source code
>> from multiplicity information and I was wondering if I could get rid of the
>> code that generates this in the comment:
>>
>> @element-type Employee
>>
>> The comments in the code allude to some OCL framework that I've never
>> heard of before.  Is this actually used by anyone?  If so, how does one
>> turn it on or off?  Are these constraints like the Spring validation
>> annotations (which are more commonly used in Java)?  Is there a library
>> that users are supposed to include in order for the annotations to work?
>>
>> Mark
>>
>
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2943400

To unsubscribe from this discussion, e-mail: [[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]