Hi,

We need @ejb.value-object to generate vo accessors that use Collection
typed parameters.  Currently we are seeing array types.  Any help
greatly appreciated!

Here is the current code:
        /**
         * @return Collection
         * @ejb.interface-method view-type="local"
         * @ejb.value-object
       *   aggregate="com.myapp.ejb.entity.RuleDetailEntityValue" 
         *   aggregate-name="RuleDetails"
         *   members="com.myapp.ejb.entity.RuleDetailEntityLocal" 
       *   members-name="RuleDetailEntity"
         *   relation="external"
         * @ejb.relation name="Supplier-Detail" 
       *   role-name="Supplier-has-many-Details"
         *   target-ejb="com.myapp.ejb.entity.RuleDetailEntity" 
       *   target-role-name="Rule-has-one-Supplier"
         * @jboss.target-relation related-pk-field="supplierRuleId" 
       *   fk-column="supp_rule_id"
         */
        abstract public Collection getRuleDetails();
   
This is the method currently generated with the array param:

public void
  setRuleDetailss(com.ghx.ci.flce.ejb.entity.RuleDetailEntityValue[] 
  RuleDetailss)

This is the signature that we require:

public void
  setRuleDetailss(Collection RuleDetailss)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to