package m05bDepartamentoEJB;

import java.rmi.RemoteException;
import javax.ejb.*;
import m05bBD.m05bDepartamento;


/**
 * This is the Remote Interface for the Entity EJB <tt>M05DepartamentoEB</tt>.
 *
 * @see     m05.exe.Departamento 
 * @see     m05.exe.M05DepartamentoEBHome
 * @see     m05.exe.M05DepartamentoEBPK
 * @see     m05.exe.M05DepartamentoEBBean 
 * @author <a href="mailto:paco.gomez@terra.com">Paco Gomez</a>.
 *         Professional J2EE Programming with BEA WebLogic Server, 
 *         by Gomez & Zadrozny, Copyright &#169; 2000. 
 */
public interface m05Departamento extends EJBObject{

  public String getDep_codigo()throws RemoteException;  
  public void setDep_codigo(String n)throws RemoteException;  
  
  public String getDep_descripcion()throws RemoteException;  
  public void setDep_descripcion(String n)throws RemoteException;  


  /**
   * Returns the Departamento information of this E-EJB.
   */   
  public m05bDepartamento getDepartamento()
    throws RemoteException;

  /**
   * Sets the Parametro information of this E-EJB.
   * @exception P2GException 
   *              If the given Departamento <tt>mod_id</tt> field 
   *              does not match the primary key that is in the E-EJB.
   */     
/*  public void setDepartamento(Departamento departamento)
    throws RemoteException, Exception;    */

}	