KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > titan > customer > CustomerRemote


1 package com.titan.customer;
2
3 import java.rmi.RemoteException;
4 import javax.ejb.CreateException;
5 import javax.naming.NamingException;
6
7 public interface CustomerRemote extends javax.ejb.EJBObject {
8
9     public void setAddress(String street, String city, String state, String zip)
10         throws RemoteException, CreateException, NamingException;
11
12     public void setAddress(AddressDO address)
13         throws RemoteException, CreateException, NamingException;
14
15     public AddressDO getAddress() throws RemoteException;
16
17     public Name getName() throws RemoteException;
18     public void setName(Name name) throws RemoteException;
19
20     public boolean getHasGoodCredit() throws RemoteException;
21     public void setHasGoodCredit(boolean flag) throws RemoteException;
22     // public String getHasGoodCredit() throws RemoteException;
23
// public void setHasGoodCredit(String flag) throws RemoteException;
24
// public double getHasGoodCredit() throws RemoteException;
25
//public void setHasGoodCredit(double flag) throws RemoteException;
26
}
27
Popular Tags