01: package com.titan.customer;
02:
03: import java.rmi.RemoteException;
04: import javax.ejb.CreateException;
05: import javax.naming.NamingException;
06:
07: public interface CustomerRemote extends javax.ejb.EJBObject {
08:
09: public void setAddress(String street, String city, String state,
10: String zip) throws RemoteException, CreateException,
11: NamingException;
12:
13: public void setAddress(AddressDO address) throws RemoteException,
14: CreateException, NamingException;
15:
16: public AddressDO getAddress() throws RemoteException;
17:
18: public Name getName() throws RemoteException;
19:
20: public void setName(Name name) throws RemoteException;
21:
22: public boolean getHasGoodCredit() throws RemoteException;
23:
24: public void setHasGoodCredit(boolean flag) throws RemoteException;
25: // public String getHasGoodCredit() throws RemoteException;
26: // public void setHasGoodCredit(String flag) throws RemoteException;
27: // public double getHasGoodCredit() throws RemoteException;
28: //public void setHasGoodCredit(double flag) throws RemoteException;
29: }
|