User: janaudy 
  Date: 00/05/22 09:59:36

  Added:       webstore/src/org/jboss/zol/webstore/ejbs/common
                        GenericEntityBean.java
  Log:
  
  
  Revision  Changes    Path
  1.1                  
zola/webstore/src/org/jboss/zol/webstore/ejbs/common/GenericEntityBean.java
  
  Index: GenericEntityBean.java
  ===================================================================
  package org.jboss.zol.webstore.ejbs.common;
  
  /**
   * Represents an abstract bean. 
   * Usefull for taking back an XML representation of the beans, and
   * has this nice tag for isModified.....
   *
   * @author Thierry Janaudy
   * @date Friday, May 11, 2000
   */
  
  import javax.ejb.*;
  import javax.naming.Context;
  import javax.sql.DataSource;
  import javax.naming.InitialContext;
  import java.rmi.*;
  import java.sql.*;
  import java.util.Collection;
  import java.util.LinkedList;
  
  public abstract class GenericEntityBean {
    /**
     * Used to know if we should call ejbStore or not...
     */
    protected boolean modified = true;
    
    /**
     * This method returns an XML representation of the
     * fields of this bean...
     * Useful for WAP, I do not know yet....
     */
    public String getXMLData() {
      return null;      
    }
  }
  
  
  

Reply via email to