A stupid magritte question :(

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

A stupid magritte question :(

Stéphane Ducasse
Hi all and (lukas in particular)

I have an object which hold a list of strings and I would like to describe it using magritte so I thought that I should use
a MAContainer.

But how should I specify the fact that the elements are of a specific class?

Stef
Reply | Threaded
Open this post in threaded view
|

Re: A stupid magritte question :(

Lukas Renggli
Hi Stef,

You can try with MAToManyScalarRelationDescription where the
#reference: description is a MAStringDescription. Philippe added this
many years ago, but I don't think that it has seen much use.

Lukas

On 27 March 2011 20:56, Stéphane Ducasse <[hidden email]> wrote:
> Hi all and (lukas in particular)
>
> I have an object which hold a list of strings and I would like to describe it using magritte so I thought that I should use
> a MAContainer.
>
> But how should I specify the fact that the elements are of a specific class?
>
> Stef
>



--
Lukas Renggli
www.lukas-renggli.ch