Hi,
In old FAMIX, the FAMIXAnnotationInstance defines two containers: - annotatedEntity - annotationType The annotatedEntity is used for belongsTo, but I would like to know why annotationType was defined as container too. Does it has some reason? Cheers, -- Pavel _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Hi,
In Java, you can call methods and reference to static variables from an AnnotationInstance. Cheers, Doru > On Jul 31, 2018, at 3:41 PM, Pavel Krivanek <[hidden email]> wrote: > > Hi, > > In old FAMIX, the FAMIXAnnotationInstance defines two containers: > - annotatedEntity > - annotationType > > The annotatedEntity is used for belongsTo, but I would like to know why annotationType was defined as container too. Does it has some reason? > > Cheers, > -- Pavel > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.list.inf.unibe.ch/listinfo/moose-dev -- www.feenk.com "Beauty is where we see it." _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
well, but from that, I see no reason why annotationType should be a container. Is there some example when an annotation instance belongs to an annotation type (and does not belong to any other entity)?
-- Pavel 2018-07-31 16:00 GMT+02:00 Tudor Girba <[hidden email]>: Hi, _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Hi,
Actually, I am not sure what you are referring to. AnnotationInstance is not a Container. It is a SourcedEntity. AnnotationType is a Type. Can you detail what does not work for you? Cheers, Doru > On Jul 31, 2018, at 4:15 PM, Pavel Krivanek <[hidden email]> wrote: > > well, but from that, I see no reason why annotationType should be a container. Is there some example when an annotation instance belongs to an annotation type (and does not belong to any other entity)? > > -- Pavel > > 2018-07-31 16:00 GMT+02:00 Tudor Girba <[hidden email]>: > Hi, > > In Java, you can call methods and reference to static variables from an AnnotationInstance. > > Cheers, > Doru > > > > On Jul 31, 2018, at 3:41 PM, Pavel Krivanek <[hidden email]> wrote: > > > > Hi, > > > > In old FAMIX, the FAMIXAnnotationInstance defines two containers: > > - annotatedEntity > > - annotationType > > > > The annotatedEntity is used for belongsTo, but I would like to know why annotationType was defined as container too. Does it has some reason? > > > > Cheers, > > -- Pavel > > _______________________________________________ > > Moose-dev mailing list > > [hidden email] > > https://www.list.inf.unibe.ch/listinfo/moose-dev > > -- > www.feenk.com > > "Beauty is where we see it." > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.list.inf.unibe.ch/listinfo/moose-dev > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.list.inf.unibe.ch/listinfo/moose-dev -- www.feenk.com "Every now and then stop and ask yourself if the war you're fighting is the right one." _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Le 31/07/2018 à 17:41, Tudor Girba a écrit :
> Hi, > Hi, > Actually, I am not sure what you are referring to. > > AnnotationInstance is not a Container. It is a SourcedEntity. > AnnotationType is a Type. > > Can you detail what does not work for you? > I think he is talking about the container pragma defining the containment tree used by Moose Query to find children/parents/scopes/dependencies. > Cheers, > Doru > > > > > -- > www.feenk.com > > "Every now and then stop and ask yourself if the war you're fighting is the right one." > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.list.inf.unibe.ch/listinfo/moose-dev > -- Cyril Ferlicot https://ferlicot.fr _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev signature.asc (836 bytes) Download Attachment |
2018-07-31 18:19 GMT+02:00 Cyril Ferlicot D. <[hidden email]>: Le 31/07/2018 à 17:41, Tudor Girba a écrit : yes, about the relations properties
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Free forum by Nabble | Edit this page |