0 Replies Latest reply on Feb 22, 2006 10:27 PM by tan min

    After add ejbFindByPrimaryKey method in chapter 5, I don't g

    tan min Newbie

      Hi,
      Chapter 5. Creating a BMP Entity Bean
      After add ejbFindByPrimaryKey method, I am getting xdoclet.xml:56: XDoclet failed when Generateing EJB classes.

      Using jdk 1.4.2_02, jboss 3.2.3, eclipse 2.1.3 and lomboz.2.1.3
      Posting the console 's info:
      ----------------------------------------------------
      Buildfile: C:\eclipse\workspace\J2EETest\MyBank\META-INF\build.xml

      init:

      ejbdoclet:

      init:

      ejbdoclet:
      [ejbdoclet] Deploy TEMPLATE URL: jar:file:C:\eclipse\plugins\com.objectlearn.jdt.j2ee\xdoclet\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-deploy_wsdd.xdt
      [ejbdoclet] Undeploy TEMPLATE URL: jar:file:C:\eclipse\plugins\com.objectlearn.jdt.j2ee\xdoclet\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-undeploy_wsdd.xdt
      [ejbdoclet] (XDocletMain.start 47 ) Running
      [ejbdoclet] Generating Data Object class for 'com.nullinfo.bmp.CustomerBean'.
      [ejbdoclet] (XDocletMain.start 47 ) Running
      [ejbdoclet] Generating DAO class for 'com.nullinfo.bmp.CustomerBean'.
      [ejbdoclet] (XDocletMain.start 53 ) Running XDoclet failed.
      [ejbdoclet] (XDocletMain.start 54 ) <<FATAL:com.nullinfo.bmp.CustomerPK pk>>
      [ejbdoclet] file:C:/eclipse/workspace/J2EETest/MyBank/META-INF/xdoclet.xml:56: XDoclet failed.
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:467)
      [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
      [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [ejbdoclet] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
      [ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
      [ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
      [ejbdoclet] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
      [ejbdoclet] at java.lang.Thread.run(Thread.java:536)
      [ejbdoclet] Caused by: xdoclet.XDocletException: FATAL:com.nullinfo.bmp.CustomerPK pk
      [ejbdoclet] at xdoclet.tagshandler.ParameterTagsHandler.parameterList(ParameterTagsHandler.java:203)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:561)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeContentMethod(TemplateEngine.java:614)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:469)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
      [ejbdoclet] at xdoclet.modules.ejb.home.HomeTagsHandler.ifIsFinderMethod(HomeTagsHandler.java:588)
      [ejbdoclet] at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:561)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
      [ejbdoclet] at xdoclet.tagshandler.AbstractProgramElementTagsHandler.forAllMembers(AbstractProgramElementTagsHandler.java:733)
      [ejbdoclet] at xdoclet.tagshandler.MethodTagsHandler.forAllMethods(MethodTagsHandler.java:413)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
      [ejbdoclet] at xdoclet.tagshandler.ClassTagsHandler.ifClassTagValueEquals(ClassTagsHandler.java:462)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
      [ejbdoclet] at xdoclet.modules.ejb.entity.EntityTagsHandler.ifEntity(EntityTagsHandler.java:78)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:414)
      [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:560)
      [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:767)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
      [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
      [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:464)
      [ejbdoclet] ... 21 more
      [ejbdoclet] --- Nested Exception ---
      [ejbdoclet] xdoclet.XDocletException: FATAL:com.nullinfo.bmp.CustomerPK pk
      [ejbdoclet] at xdoclet.tagshandler.ParameterTagsHandler.parameterList(ParameterTagsHandler.java:203)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:561)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeContentMethod(TemplateEngine.java:614)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:469)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
      [ejbdoclet] at xdoclet.modules.ejb.home.HomeTagsHandler.ifIsFinderMethod(HomeTagsHandler.java:588)
      [ejbdoclet] at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:561)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
      [ejbdoclet] at xdoclet.tagshandler.AbstractProgramElementTagsHandler.forAllMembers(AbstractProgramElementTagsHandler.java:733)
      [ejbdoclet] at xdoclet.tagshandler.MethodTagsHandler.forAllMethods(MethodTagsHandler.java:413)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
      [ejbdoclet] at xdoclet.tagshandler.ClassTagsHandler.ifClassTagValueEquals(ClassTagsHandler.java:462)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:738)
      [ejbdoclet] at xdoclet.modules.ejb.entity.EntityTagsHandler.ifEntity(EntityTagsHandler.java:78)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:635)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:534)
      [ejbdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [ejbdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)
      [ejbdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:347)
      [ejbdoclet] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:414)
      [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:560)
      [ejbdoclet] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:767)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:667)
      [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
      [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
      [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
      [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:464)
      [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
      [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [ejbdoclet] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
      [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
      [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
      [ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
      [ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
      [ejbdoclet] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
      [ejbdoclet] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
      [ejbdoclet] at java.lang.Thread.run(Thread.java:536)
      [ejbdoclet] BUILD FAILED: file:C:/eclipse/workspace/J2EETest/MyBank/META-INF/xdoclet.xml:56: Unexpected error
      Total time: 10 seconds
      ------------------------------------------------------
      The CustomerBean's content:

      package com.nullinfo.bmp;

      import javax.ejb.EntityBean;
      import javax.ejb.FinderException;

      /**
      * @ejb.bean name="Customer"
      * jndi-name="CustomerBean"
      * type="BMP"
      *
      *--
      * @ejb.dao class="com.nullinfo.bmp.CustomerDAO"
      * impl-class="com.nullinfo.dao.CustomerDAOImpl"
      *
      *--
      * *@ejb.resource-ref res-ref-name="jdbc/DB2DS"
      * res-type="javax.sql.Datasource"
      * res-auth="Container"

      *--
      *@jboss.resource-ref res-ref-name="jdbc/DB2DS"
      * jndi-name="jdbc:/DB2DS"
      *
      */

      public abstract class CustomerBean implements EntityBean {
      private String customerID;
      private String userID;
      private String firstName;
      private String lastName;
      private String address;
      private String phone;
      private String shareholderStatus;

      /**
      * Returns the customerID
      * @return the customerID
      * @ejb.persistence
      * @ejb.pk-field
      * @ejb.interface-method
      */
      public String getCustomerID() {
      return customerID;
      }

      /**
      * Sets the customerID
      * @param java.lang.String the new customerID value
      * @ejb.interface-method
      */
      public void setCustomerID(String customerID) {
      this.customerID = customerID;
      }

      /**
      * Returns the address
      * @return the address
      * @ejb.persistence
      * @ejb.interface-method
      */
      public String getAddress() {
      return address;
      }

      /**
      * Returns the firstName
      * @return the firstName
      * @ejb.persistence
      * @ejb.interface-method
      */
      public String getFirstName() {
      return firstName;
      }

      /**
      * Returns the lastName
      * @return the lastName
      * @ejb.persistence
      * @ejb.interface-method
      */
      public String getLastName() {
      return lastName;
      }

      /**
      * Returns the phone
      * @return the phone
      * @ejb.persistence
      * @ejb.interface-method
      */
      public String getPhone() {
      return phone;
      }

      /**
      * Returns the shareholderStatus
      * @return the shareholderStatus
      * @ejb.persistence
      * @ejb.interface-method
      */
      public String getShareholderStatus() {
      return shareholderStatus;
      }

      /**
      * Returns the userID
      * @return the userID
      * @ejb.persistence
      * @ejb.interface-method
      */
      public String getUserID() {
      return userID;
      }

      /**
      * Sets the address
      * @param java.lang.String the new address value
      * @ejb.interface-method
      */
      public void setAddress(String address) {
      this.address = address;
      }

      /**
      * Sets the firstName
      * @param java.lang.String the new firstName value
      * @ejb.interface-method
      */
      public void setFirstName(String firstName) {
      this.firstName = firstName;
      }

      /**
      * Sets the lastName
      * @param java.lang.String the new lastName value
      * @ejb.interface-method
      */
      public void setLastName(String lastName) {
      this.lastName = lastName;
      }

      /**
      * Sets the phone
      * @param java.lang.String the new phone value
      * @ejb.interface-method
      */
      public void setPhone(String phone) {
      this.phone = phone;
      }

      /**
      * Sets the shareholderStatus
      * @param java.lang.String the new shareholderStatus value
      * @ejb.interface-method
      */
      public void setShareholderStatus(String shareholderStatus) {
      this.shareholderStatus = shareholderStatus;
      }

      /**
      * Sets the userID
      * @param java.lang.String the new userID value
      * @ejb.interface-method
      */
      public void setUserID(String userID) {
      this.userID = userID;
      }

      /**
      * @param CustomerPK pk value
      * Finds the Primary Key
      * @return CustomerPk object
      *
      **/
      public CustomerPK ejbFindByPrimaryKey(com.nullinfo.bmp.CustomerPK pk) throws FinderException {
      System.out.println("Entering CustomerBean ejbFindByPrimaryKey");
      System.out.println("Leaving CustomerBean ejbFindByPrimaryKey");
      return null;
      }

      }