Yes I did,
Know I'm concerned about another missbehavior of xdoclet. I tried
/**
* @ejb.interface-method
* @ejb.relation
* name="event-resultSets"
* role-name="event-has-resultSets"
* @ejb.value-object match="normal"
* compose="sportbet.common.program.ResultSetValue"
* compose-name="ResultSet"
* members="sportbet.server.program.ResultSetLocal"
* members-name="ResultSet"
* relation="external"
* type="Collection"
* @ejb.value-object match="full"
*
compose="sportbet.common.program.ResultSetFullValue"
* compose-name="ResultSetFull"
* members="sportbet.server.program.ResultSetLocal"
* members-name="ResultSetFull"
* relation="external"
* type="Collection"
*/
public abstract Collection getResultSets();
The composed Collection resultSet is composed with ResultSetValue's in
both value-objects, EventValue and EventFullValue. But I want
ResultSetFullValue's composed in the EventFullValue.
First I didn't have a ejb[Post]Create-method for ResultSetFullValue, but
know I have. It seems that xdoclet ignores the parameters of the seconds
ejb.value-object tag and takes these from the first one, because the
members are named "ResultSets" and not "ResultSetFulls" What can I do?
Greats,
Thomas
> -----Urspr�ngliche Nachricht-----
> Von: Brian Topping [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 10. Januar 2003 01:20
> An: Thomas Louis; [EMAIL PROTECTED]
> Betreff: RE: [Xdoclet-user] Value-object match
>
>
> Thomas,
>
> Did you put these match terms (first, second) in the
> class-level value object declaration? If they do not exist in
> both, no value object for that term will be created.
>
> -b
>
> > -----Original Message-----
> > From: Thomas Louis [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 09, 2003 11:18 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Xdoclet-user] Value-object match
> >
> >
> > Hello,
> >
> > I tried to add a property to two value-objects by
> >
> > @ejb.value-object
> > match="first,second"
> > compose="...."
> > ....
> > public abstract getProperty()
> >
> > But nor in the first neither in the second value-object the
> > property was
> > generated.
> > Is there a way to avoid, to define the value-object twice
> like below.
> >
> > @ejb.value-object
> > match="first"
> > compose="...."
> > ....
> > @ejb.value-object
> > match="second"
> > compose="...."
> > ....
> > public abstract getProperty()
> >
> > It would save the copy and paste and would avoid mistakes.
> >
> > Greats,
> > Thomas
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld =
> Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user