| [Acceleo] Retrieve a Class : from an association in a property / from her name in the model [message #687999]
||Thu, 23 June 2011 12:45
| David P
Registered: June 2011
I'm a beginner with Acceleo, and I have a little question to improve my PHP class file generation from the model.
I have two class "A" and "B" linked by a "one to many" association in the UML model, and I would like to know how to retrieve a "Class" object from the end of the association.
On the property of my class "A", I can retrieve the name of the class "B" which is at the end of the association :
But in my class A, I would like to read information about my class B pointed by the association like this :
How can I do that?
Or, How can I retrieve a "Class" object from her String name?
I haven't see a getClass('String') method or something like this
Thanks for your help,
[Updated on: Thu, 23 June 2011 12:46]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.15306 seconds