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 } 27 | Popular Tags |