[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: A clear definition of "children feature" and its use cases?

Hello Mous,

Imagine you have the following domain model:

- EClass "Container"
 - ContainmentReference "abstractChildren"
 - Reference "childrenOfType1"
 - Reference "childrenOfType2"

- Abstract EClass "AbstractChild"

- EClass "ChildOfType1"

- EClass "ChildOfType2"

and you would like to represent all "childrenOfType1" for each Container instance as child elements. In this case you have to specify "abstractChildren" reference as a containment reference and "childrenOfType1" as child one.


----------------- Alex Shatalin