Hi,

Using 1.2b3

I have a FacilityLink bean which has two relations  (source,destination)
to another object which we defined Facility.

So, what I would expect for methods

FacilityLinkValue.java
FacilityValue getSourceFacility() 
FacilityValue getDestinationFacility()

Within the FacilityBean I have set up the relations like (eg for the
upstream, downstream relation is largely the same):
* @ejb.value-object
*   aggregate="com.celeres.pago.valueobject.FacilityLinkValue"
*   aggregate-name="UpstreamFacilityLink"
*   members="com.celeres.pago.ejb.interfaces.FacilityLinkLocal"
*   members-name="FacilityLinkValue"
*   relation="external"

I get a compilation error because the FacilityCMP class ends up with two
addFacilityLinkValue methods instead of what I would have expected an
addUpstreamFacilityLink, and addDownstreamFacilityLink.

So, my question is should I modify the template for CMP, or more likely,
am I doing something fundamentally wrong here?

Thanks,

Craig



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to