Hi,
You need to add the 2 abstract methods in the bean you write and add
ejb:interface-tag to them.
I mean

/**
 * @ejb:interface-method
 */
public abstract xxxData getData();

/**
 * @ejb:interface-method
 */
public abstract void setData(xxxData d);

BTW this is the same principle if you need a getter or a setter of a
particular entity bean's attribute.

Vincent


--- Daniel Bratell <[EMAIL PROTECTED]> wrote:
> This is probably a newbie question but I cannot figure out how to use
> the 
> Data object with my CMP 2.0 Entity Beans. The interface don't get any
> 
> generated getData or setData methods so I don't know how to get the
> data 
> object. How should I do?
> 
> /Daniel
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to