Hi all,
can you please tell me what's wrong with this code?

/**
    * Returns a Collection of local Roles
    * @return a Collection of local Roles
    *
    * @ejb.relation
    *       name="user-roles"
    *       role-name="user-has-role"          
    *       target-ejb="webappointments/RoleBean"
    *       target-role-name="role-has-user"
    *       target-multiple="no"
    *       target-cascade-delete="yes"
    *         
    *      
    * @ejb.interface-method
    *       view-type="local"
    *  
    * @jboss.relation-mapping
    *       style="foreign-key"
    *
    * @-jboss.target-relation
    *       related-pk-field="principalId"
    *       fk-column="principalid"
    *
    * @jboss.relation
    *       related-pk-field="principalId"
    *       fk-column="principalid"
    */
   public abstract java.util.Collection getRoles();
  
   /**
    * Sets a collection of roles
    * @param pRoles a collection of local Roles
    *
    * @ejb.interface-method
    *       view-type="local"
    */
   public abstract void setRoles( java.util.Collection pRoles );



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

Reply via email to