oracle.otnsamples.BMPSample.ejb.HotelBooking.HotelBooking (Java2HTML)
/**
 * @author  Rajesh

 * @version 1.0
 *
 * Development Environment        :  Oracle9i JDeveloper
 * Name of the Application        :  HotelBooking.java
 * Creation/Modification History  :
 *
 * Rajesh         10-Nov-2001      Created

 * Venkatesh      02-Dec-2002      Applied OTN latest coding standards 
 *
 * Overview of Application        :
 *
 * This interface declares the methods which forms part of an Enterprise
 * Java Bean. The actual implementation of these methods will be done
 * in the HotelBookingBean class.
 *

 */
package oracle.otnsamples.BMPSample.ejb.HotelBooking;

// RMI & EJB specific imports
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBObject;

// JDBC specific import

import java.sql.SQLException;

public interface HotelBooking  extends EJBObject {

  // Remote methods to get and set the number of nights
  public int getNumberOfNights()  throws RemoteException;
  public void setNumberOfNights(int newNumber)  throws RemoteException;

  // Remote methods to get and set the number of rooms
  public int getNumberOfRooms() throws RemoteException;

  public void setNumberOfRooms(int newNumber) throws RemoteException;

  // Remote methods to get and set the room type
  public String getRoomType() throws RemoteException;
  public void setRoomType(String newType) throws RemoteException;
}
E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy