// Order.java

package org.objectweb.jonas.stests.appli;

import java.rmi.RemoteException;
import java.util.Vector;
import javax.ejb.EJBObject;

/**
 * Order remote interface
 */
public interface Order extends EJBObject {

	/**
     * Get the customer ID.
	 * <p>
     * @return Integer
     * @exception java.rmi.RemoteException Remote exception
	 */

	public Integer getCustomerID() throws RemoteException;

	/**
     * Get the count of line in the order.
	 * <p>
     * @return int The number of lines in the order.
     * @exception java.rmi.RemoteException Remote exception
	 */

	public int getOrderLineCount() throws RemoteException;

	/**
     * Get the order items.
	 * <p>
     * @return Vector of OrderDetail objects.
     * @exception java.rmi.RemoteException Remote exception
	 */

	public Vector getOrderItems() throws RemoteException;
	

}
