Hi Jaime,

at the moment, there is no possibility to do that in AndroMDA V2. In CVS
HEAD (AndroMDA V3), there is a new version of the EJB cartridge that
accepts a new stereotype called <<CreateMethod>>. You model your create
methods with the argument list you want and tag those methods with the
special stereotype. The generator puts them into the bean and into the
home interface.

I hope, this helps.

Matthias

P.S.: The EJB cartridge is being overhauled. The templates will change
heavily. Chad Brandon does that in the V3x_DEV branch. We have planned a
V3.0 release for May 2004.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Jaime Chang
> Sent: Wednesday, January 28, 2004 5:13 PM
> To: [EMAIL PROTECTED]
> Subject: [Andromda-user] Creating Entity beans with specific 
> parameters
> 
> 
> Hello everybody,
> 
> I have been analyzing Andromda for the past week and I am 
> really excited 
> about this tool.
> Great job Andromda Team!!!
> 
> I have question though, how can I create a specific entity bean to 
> contain a create method with certain number of parameters
> I noticed that andromda generates the create method for an 
> entity bean 
> based on the total number of attributes the bean contains.
> 
> now what happens if the user is only required to set certain 
> number of 
> attributes to create an entity bean.
> 
> For example, UserAccountEntityBean contains attributes for 
> id, username, 
> password, dateCreated, dateAccepted, description, etc... but the user 
> only needs to pass two parameters (username, password) to the 
> system to 
> create a user account (entity bean)
> 
> How can I tell andromda to create this specific entity bean 
> (not all of 
> them) with a create method that contains these specific parameters 
> (username, password) from the UML diagram?
> 
> Any thought will be really appreciated!!!
> 
> Again, Great job Andromda!!!
> 
> 
> -- 
> Jaime Chang
> Software Engineer __________________________________________________
> I.D.E.A.L. Technology Corporation - Orlando Office 
http://www.idealcorp.com - 407.999.9870 x18




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the
breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to