The following issue has been updated:

    Updater: Jim Riley (mailto:[EMAIL PROTECTED])
       Date: Sat, 1 Mar 2003 9:20 PM
    Comment:
This is the source file
    Changes:
[Attachment] [StandardFeesBean.java] was added

---------------------------------------------------------------------
For a full history of the issue, see:

  
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-344&page=history

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-344


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-344
    Summary: XDoclet not generating all getters for CMP bean
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: XDoclet
  Component: EJB Module
   Versions:
             1.1.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Jim Riley

    Created: Sat, 1 Mar 2003 9:10 PM
    Updated: Sat, 1 Mar 2003 9:20 PM
Environment: Windows

Description:
I am attempting to create a CMP bean using Xdoclet.  Some of the getter methods (the 
first 3) are end up in the Local interface, others do not.  I can detect no difference 
in the Xdoclet comments between those that show up and those that do not.  I may be 
doing something wrong, but I cannot figure it out.

-------------------------------
The CMP Bean Code
-------------------------------
package com.compassbnk.paysource.domainobject;

import javax.ejb.*;

import com.compassbnk.paysource.valueobject.FeesVO;

/**
 * This class represents the standard or default fees that are used
 * when a PaySource company is created.  This class is really a
 * singleton.  So there should be one and only one instance and that
 * instance should have an id = 1.
 *
 * @author <a href="mailto:[EMAIL PROTECTED]">Jim Riley</a>
 *
 * @ejb:bean
 *    type="CMP"
 *    cmp-version="2.x"
 *    name="StandardFees"
 *    jndi-name="paysource.StandardFeesHome"
 *    local-jndi-name="paysource.StandardFeesLocalHome"
 *    view-type="local"
 *    primarykey-field="id"
 *
 * @ejb.persistence table-name="STANDARD_FEES"
 *
 */
public abstract class StandardFeesBean implements javax.ejb.EntityBean {

   public static final long ID = 1;

   private javax.ejb.EntityContext _entityContext;

   /**
    * Id is the primary key.  Since StandardFees is a singleton,  there is
    * to be one record and it will have an id = 1.
    *
    * @return the value 1
    *
    * @ejb:interface-method view-type="local"
    * @ejb:pk-field
    * @ejb:persistent-field
    * @ejb:persistence column-name="ID"
    * @ejb:transaction type="Supports"
    *
    */

   public abstract long getId();

   /**
    * setId
    *
    * @param id it will always be 1 because this is a singleton
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setId( long id);

   /**
    * getPrefundingFee
    *
    * @return the amount of the Prefunding Fee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="PREFUNDING_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getPrefundingFee();

   /**
    *  setPrefundingFee
    *
    * @param fee amount of the Prefunding Fee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setPrefundingFee( double fee);

   /**
    * getPosFee
    *
    * @return the amount of the POS Fee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="POS_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getPosFee();

   /**
    *  setPosFee
    *
    * @param fee name of this POS Fee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setPosFee( double fee);

   /**
    *  getAtmCashAdvanceFee
    *
    * @return the amount of the Cash Advance Fee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="ATM_CASH_ADVANCE_FEE"
    * @ejb:transaction type="Supports"
    * @ejb:transaction type="Supports"
    *
    */

   public abstract double getAtmCashAdvanceFee();

    /**
    * @param fee name of this ATMCashAdvanceFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setAtmCashAdvanceFee( double fee);

   /**
    * getRegCashAdvanceFee
    *
    * @return the amount of the Reg Cash Advance Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="REG_CASH_ADVANCE_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getRegCashAdvanceFee();

   /**
    * setRegCashAdvanceFee
    *
    * @param fee name of this RegCashAdvanceFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setRegCashAdvanceFee( double fee);


   /**
    * getMemebershipFee
    *
    * @return the amount of the Membership Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="MEMBERSHIP_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getMemebershipFee();

   /**
    * setMemebershipFee
    *
    * @param fee name of this MemebershipFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setMemebershipFee( double fee);

    /**
     * getStatementDeliveryFee
     *
    * @return the amount of the Statement Delivery Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="STATEMENT_DELIVERY_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getStatementDeliveryFee();

   /**
    * setStatementDeliveryFee
    *
    * @param fee name of this StatementDeliveryFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setStatementDeliveryFee( double fee);

    /**
     * getCardDeliveryFee
    * @return the amount of the Card Delivery Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="CARD_DELIVERY_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getCardDeliveryFee();

   /**
    * setCardDeliveryFee
    *
    * @param fee name of this CardDeliveryFee
    *
    * @ejb:interface-method view-type="local"
     * @ejb:transaction type="Supports"
   */

   public abstract void setCardDeliveryFee( double fee);

   /**
    * getInactiveFee
    *
    * @return the amount of the inactive fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="INACTIVE_FEE"
     * @ejb:transaction type="Supports"
   */

   public abstract double getInactiveFee();

   /**
    * setInactiveFee
    *
    * @param fee name of this InactiveFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setInactiveFee( double fee);


   /**
    * getFundsTransferFee
    *
    * @return the amount of the Funds Transfer Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="FUND_TRANSFER_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getFundsTransferFee();

   /**
    * setFundsTransferFee
    *
    * @param fee name of this FundsTransferFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    * @ejb:transaction type="Supports"
    */

   public abstract void setFundsTransferFee( double fee);


   /**
    * getVruFee
    *
    * @return the amount of the VRU Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="VRU_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getVruFee();

   /**
    * setVruFee
    *
    * @param fee name of this VruFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setVruFee( double fee);


   /**
    * getOverDraftFee
    *
    * @return the amount of the Over Draft Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="OVER_DRAFT_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getOverDraftFee();

   /**
    * setOverDraftFee
    *
    * @param fee name of this OverDraftFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
   */

   public abstract void setOverDraftFee( double fee);


   /**
    * getInternationAtmFee
    *
    * @return the amount of the Internation ATM Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="INTERNATION_ATM_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getInternationAtmFee();

    /**
     * setInternationAtmFee
     *
    * @param fee name of this InternationATMFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */
  public abstract void setInternationAtmFee( double fee);


   /**
    * getSecondCardIssueFee
    *
    * @return the amount of the Second Card Issue Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="SECOND_CARD_ISSUE_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getSecondCardIssueFee();

   /**
    * setSecondCardIssueFee
    *
    * @param fee name of this SecondCardIssueFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setSecondCardIssueFee( double fee);


   /**
    * getNewAccountFee
    *
    * @return the amount of the New Account Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="NEW_ACCOUNT_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getNewAccountFee();

   /**
    * setNewAccountFee
    *
    * @param fee name of this NewAccountFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setNewAccountFee( double fee);


   /**
    * getBalanceInquiryFee
    *
    * @return the amount of the Balance Inquiry Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="BALANCE_INQUIRY_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getBalanceInquiryFee();

   /**
    * setBalanceInquiryFee
    *
    * @param fee name of this BalanceInquiryFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setBalanceInquiryFee( double fee);


   /**
    * getPinPosFee
    *
    * @return the amount of the PIN POS Fee
    *
    * @ejb.interface.method view-type="local"
    * @ejb:persistent-field
    * @ejb:persistence column-name="PIN_POS_FEE"
    * @ejb:transaction type="Supports"
    */

   public abstract double getPinPosFee();

   /**
    * @param fee name of this PinPosFee
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public abstract void setPinPosFee( double fee);


   /**
    * getFees
    *
    * @return all the standard fees
    *
    * @ejb.interface.method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public  FeesVO getFees() {
      FeesVO feesVO = new FeesVO();
      feesVO.setAtmCashAdvanceFee( this.getAtmCashAdvanceFee());
      feesVO.setBalanceInquiryFee(this.getBalanceInquiryFee());
      feesVO.setCardDeliveryFee(this.getCardDeliveryFee());
      feesVO.setFundsTransferFee(this.getFundsTransferFee());
      feesVO.setInactiveFee(this.getInactiveFee());
      feesVO.setInternationAtmFee(this.getInternationAtmFee());
      feesVO.setMemebershipFee(this.getMemebershipFee());
      feesVO.setNewAccountFee(this.getNewAccountFee());
      feesVO.setOverDraftFee(this.getOverDraftFee());
      feesVO.setPinPosFee(this.getPinPosFee());
      feesVO.setPosFee(this.getPosFee());
      feesVO.setPrefundingFee(this.getPrefundingFee());
      feesVO.setRegCashAdvanceFee(this.getRegCashAdvanceFee());
      feesVO.setSecondCardIssueFee(this.getSecondCardIssueFee());
      feesVO.setStatementDeliveryFee(this.getStatementDeliveryFee());
      feesVO.setVruFee(this.getVruFee());

      return feesVO;

   }


   /**
    * setFees
    *
    * @param feesVO all the fees
    *
    * @ejb:interface-method view-type="local"
    * @ejb:transaction type="Supports"
    */

   public  void setFees( FeesVO feesVO) {
      this.setId( ID );
      this.setAtmCashAdvanceFee( feesVO.getAtmCashAdvanceFee());
      this.setBalanceInquiryFee(feesVO.getBalanceInquiryFee());
      this.setCardDeliveryFee(feesVO.getCardDeliveryFee());
      this.setFundsTransferFee(feesVO.getFundsTransferFee());
      this.setInactiveFee(feesVO.getInactiveFee());
      this.setInternationAtmFee(feesVO.getInternationAtmFee());
      this.setMemebershipFee(feesVO.getMemebershipFee());
      this.setNewAccountFee(feesVO.getNewAccountFee());
      this.setOverDraftFee(feesVO.getOverDraftFee());
      this.setPinPosFee(feesVO.getPinPosFee());
      this.setPosFee(feesVO.getPosFee());
      this.setPrefundingFee(feesVO.getPrefundingFee());
      this.setRegCashAdvanceFee(feesVO.getRegCashAdvanceFee());
      this.setSecondCardIssueFee(feesVO.getSecondCardIssueFee());
      this.setStatementDeliveryFee(feesVO.getStatementDeliveryFee());
      this.setVruFee(feesVO.getVruFee());
   }

   /**
    * Create StandardFees.
    *
    * @ejb:create-method
    *
    */

   public StandardFeesPK ejbCreate( FeesVO feesVO) throws javax.ejb.CreateException {
      this.setFees( feesVO );
      StandardFeesPK pk = new StandardFeesPK( ID );
      return pk;
   }

   public void ejbPostCreate(FeesVO feesVO)  {
      // not implemented;
   }

   public void setEntityContext( javax.ejb.EntityContext entityContext ) {
      _entityContext = entityContext;
   }

   public void unsetEntityContext() {
      _entityContext = null;
   }

   public void ejbLoad() {
   }

   public void ejbActivate() {
   }

   public void ejbPassivate() {
   }

   public void ejbRemove() throws javax.ejb.RemoveException {
   }

   public void ejbStore() {
   }
}

-------------------------------- 
The generated Local Interface
--------------------------------
/*
 * Generated file - Do not edit!
 */
package com.compassbnk.paysource.domainobject;

import java.lang.*;
import javax.ejb.*;
import com.compassbnk.paysource.valueobject.FeesVO;

/**
 * Local interface for StandardFees.
 * @author XDOCLET 1.1.2
 * @xdoclet-generated at Mar 1, 2003 8:48:18 PM
 */
public interface StandardFeesLocal
   extends javax.ejb.EJBLocalObject
{
   /**
    * getAtmCashAdvanceFee
    * @return the amount of the Cash Advance Fee
    */
   public double getAtmCashAdvanceFee(  ) ;

   /**
    * Id is the primary key.  Since StandardFees is a singleton,  there is
    * to be one record and it will have an id = 1.
    * @return the value 1
    */
   public long getId(  ) ;

   /**
    * getPosFee
    * @return the amount of the POS Fee
    */
   public double getPosFee(  ) ;

   /**
    * getPrefundingFee
    * @return the amount of the Prefunding Fee
    */
   public double getPrefundingFee(  ) ;

   public void setAtmCashAdvanceFee( double fee ) ;

   /**
    * setBalanceInquiryFee
    * @param fee name of this BalanceInquiryFee
    */
   public void setBalanceInquiryFee( double fee ) ;

   /**
    * setCardDeliveryFee
    * @param fee name of this CardDeliveryFee
    */
   public void setCardDeliveryFee( double fee ) ;

   /**
    * setFees
    * @param feesVO all the fees
    */
   public void setFees( com.compassbnk.paysource.valueobject.FeesVO feesVO ) ;

   /**
    * setFundsTransferFee
    * @param fee name of this FundsTransferFee
    */
   public void setFundsTransferFee( double fee ) ;

   /**
    * setId
    * @param id it will always be 1 because this is a singleton
    */
   public void setId( long id ) ;

   /**
    * setInactiveFee
    * @param fee name of this InactiveFee
    */
   public void setInactiveFee( double fee ) ;

   /**
    * setInternationAtmFee
    * @param fee name of this InternationATMFee
    */
   public void setInternationAtmFee( double fee ) ;

   /**
    * setMemebershipFee
    * @param fee name of this MemebershipFee
    */
   public void setMemebershipFee( double fee ) ;

   /**
    * setNewAccountFee
    * @param fee name of this NewAccountFee
    */
   public void setNewAccountFee( double fee ) ;

   /**
    * setOverDraftFee
    * @param fee name of this OverDraftFee
    */
   public void setOverDraftFee( double fee ) ;

   public void setPinPosFee( double fee ) ;

   /**
    * setPosFee
    * @param fee name of this POS Fee
    */
   public void setPosFee( double fee ) ;

   /**
    * setPrefundingFee
    * @param fee amount of the Prefunding Fee
    */
   public void setPrefundingFee( double fee ) ;

   /**
    * setRegCashAdvanceFee
    * @param fee name of this RegCashAdvanceFee
    */
   public void setRegCashAdvanceFee( double fee ) ;

   /**
    * setSecondCardIssueFee
    * @param fee name of this SecondCardIssueFee
    */
   public void setSecondCardIssueFee( double fee ) ;

   /**
    * setStatementDeliveryFee
    * @param fee name of this StatementDeliveryFee
    */
   public void setStatementDeliveryFee( double fee ) ;

   /**
    * setVruFee
    * @param fee name of this VruFee
    */
   public void setVruFee( double fee ) ;

}



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



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

Reply via email to