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
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 pavel.krivanek@gmail.com 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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.feenk.com
"Beauty is where we see it."
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 tudor@tudorgirba.com:
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 pavel.krivanek@gmail.com
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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.feenk.com
"Beauty is where we see it."
Moose-dev mailing list Moose-dev@list.inf.unibe.ch 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 pavel.krivanek@gmail.com 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 tudor@tudorgirba.com: 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 pavel.krivanek@gmail.com 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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.feenk.com
"Beauty is where we see it."
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch 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."
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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
2018-07-31 18:19 GMT+02:00 Cyril Ferlicot D. cyril.ferlicot@gmail.com:
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.
yes, about the relations properties
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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- Cyril Ferlicot https://ferlicot.fr
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev