001    package biz.wedoit4u.ejb.entity;
002    import javax.ejb.FinderException;
003    
004    /**
005     * The <code>Local</code> interface for the entity bean representing a 
006     * record in the <code>customer_types</code> table.
007     *
008     * <p>Accessor methods are defined for all the columns, while mutator
009     * methods are defined for all columns except the primary key column.
010     * </p>
011     *
012     * <p>Copyright 2003, Rakesh Vidyadharan</p>
013     *
014     * @author Rakesh Vidyadharan on 16<sup><small>th</small></sup> September 2003
015     * @version $Id: CustomerType.java,v 1.4 2004/05/26 11:42:34 rakesh Exp $
016     */
017    public interface CustomerType extends javax.ejb.EJBLocalObject
018    {
019      /**
020       * Return the value in the <code>customer_type_id</code> column.
021       *
022       * @return int - The value in the column.
023       */
024      public int getCustomerTypeId();
025    
026      /**
027       * Return the value in the <code>type</code> column.
028       *
029       * @return String - The value in the column.
030       */
031      public String getType();
032    
033      /**
034       * Set the value in the <code>type</code> column.
035       *
036       * @param type - The value to set.
037       */
038      public void setType( String type );
039    
040      /**
041       * Return the value in the <code>description</code> column.
042       *
043       * @return String - The value in the column.
044       */
045      public String getDescription();
046    
047      /**
048       * Set the value in the <code>description</code> column.
049       *
050       * @param description - The value to set.
051       */
052      public void setDescription( String description );
053    
054      /**
055       * Return a <code>Set</code> of references to the {@link Customer}
056       * entity beans that belong to this <code>customer_type</code>.
057       *
058       * @return Set - The <code>Set</code> of customers belonging to this
059       *   type.
060       */
061      public java.util.Set getCustomers();
062    }