code generation with velocity sample

code generation with velocity sample

Postby mustafabulut » Mon Feb 06, 2006 5:18 pm

I want to develop a plug-in that generates code for objective caml from UML class diagrams. I examined sample code generation plug-in that is called "simple" on poseidon website. It transfers "preparedModelElement" object to velocity. but i want to get methods and attributes of a class. can anyone help me about getting these properties in velocity?
Mustafa Bulut
mustafabulut
 
Posts: 1
Joined: Sat Feb 04, 2006 2:09 pm

Re: code generation with velocity sample

Postby [gw] Stefan Mueller » Thu Feb 09, 2006 2:55 pm

Hi,

you can use the PreparedClassifier which provides methods like 'getPreparedAttributes()' and 'getpreparedOperations()'

Kind reagrds,

Stefan
Stefan Mueller [Gentleware]
[gw] Stefan Mueller
 
Posts: 374
Joined: Thu Jul 03, 2003 11:24 am


Return to Plug-Ins

Who is online

Users browsing this forum: No registered users and 2 guests

cron