Re: [mdr-users] question about mof metadata layer

Martin Matula <[email protected]> Wed, 11 Jan 2006 11:45:02 +0100
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Ludger,
you are right regarding the notation. Although, MOF 1.4 has no formally 
defined notation, the UML notation can be used easily for it.
Regarding the contained element, yes, this is in fact a constraint on 
what kinds of elements a given construct can contain. It is not defined 
formally in the XMI. You can implement it manually in Java in case of MDR.
Martin

ludger goeke wrote:
> Hi Martin,
> 
> I´ve got a question about the notation of metamodels.
> The following picture should represent a class symbol that models the class
> "Port" from the UML2 metamodel. Let's assume I would create the metamodel
> not in the Posidon UML-tool, but in fictitious MOF-Tool. Is it rigth that
> the notation would nearly look the same ? That means, does the class symbol
> represents a MOF-Class wich name-Attribut has the value "Port" in this
> example? 
> Or can I say that it is an instance of the MOF-Construct "Class" with the
> value "Port" of name-attribute? 
> 
>    ________
>   |        |
>   |  Port  |
>   |________|
> 
> 
>     I just have another question? I wrote in the MOF-Specification v 1.4
> the term "ContainedElements" in relating to classes. I didn't   mentioned
> this term in any of my xmi-Files. What is it ? Is it an attribute (with the
> type of a list) or is it just a constraint that defines wich elements 
> may be included in an element ? If is a constraint - how is it defined or
> implemented ?
> 
> Regards
> Ludger
> 
>   
> 
> 
> 
> 
> 
> 
>