matthias.berth at googlemail.com
Mon May 5 18:19:26 MEST 2008
On Mon, May 5, 2008 at 4:51 PM, Dario Trussardi <dtrussardi at tiscali.it> wrote:
> i work with Magritte framework for define more data about one specific
> Now some data is defined as subclass of another class.
> My questions are :
> A) What's the best method for not replicate the SuperClass descriptions ?
You just add the descriptions for the new attributes to the
subclasses. Descriptions are inherited.
> B) If i need to change the label of the priority of one of SuperClass
> description how i can do it ?
Override the superclass method with the modified description.
> C) When i need to do copy of one description and after send to the copy
> specific messages ?
> D) When i have a specific description,
> for example descriptionNazionality based on MASingleOptionDescription,
> and i have in the "data base" some reference to it ,
> i can define only one basic descriptionNationality and use it ( or copy
> of it ) with specific attribute ( label priority accessor ) ?
I don't understand what you want to do. Maybe
can give you some hints?
> What's the solution for have the best performance ? ( I think to port
> it to GLASS )
I'd advise you to program the solution that is the simplest to
program. Maybe the performance of that solution is completely OK for
your application. For persistence, see also
More information about the smallwiki