Hi,

I am having troubles using the matcher for related Properties. I found out
that the setter
in the generated 'BeanCMP.java' file always include some source for all the
value-object,
but the getter depends on the matcher-settings.

Here is my definition of the property:

    /**
     * get assoziated Section
     * 
     * @ejb.interface-method view-type="local"
     * 
     * @ejb.relation name="Contact-Section"
     *               role-name="One Contact has one Section"
     *               target-ejb="aum/Section"
     *               target-role-name="One Section has multiple Contacts"
     *               target-multiple="yes"
     *               cascade-delete="yes"
     * 
     * @jboss.relation fk-column="SectionId_fk"
     *                 related-pk-field="id"
     * 
     * @ejb.value-object
     *             
aggregate="com.vescon.aum.common.valueobject.masterdata.SectionValue"
     *              aggregate-name="Section"
     *              match="Person"
     *              relation="external"
     *
     * @ejb.value-object
     *             
aggregate="com.vescon.aum.common.valueobject.masterdata.SectionValue"
     *              aggregate-name="Section"
     *              match="Employee"
     *              relation="external"
     * 
     **/
    public abstract SectionLocal getSection();

    /**
     * set related Section
     *
     * @ejb.interface-method view-type="local"
     **/
    public abstract void setSection(SectionLocal section);

'Person' and 'Employee' should have the 'Section' Property and the others
shouldn't have it.

What i am doing wrong?

thanks in advance,
rudi

PS: I am using XDoclet cvs as of last week, JBoss 3.0.2

-- 
Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX w�hlen -
und tolle Preise absahnen! http://www.onlinestar.de



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to