1 package org.objectweb.jonas.jtests.beans.ejbql; 2 3 import java.rmi.RemoteException ; 4 import java.util.Date ; 5 6 import javax.ejb.CreateException ; 7 import javax.naming.NamingException ; 8 9 public interface CustomerRemote extends javax.ejb.EJBObject { 10 11 public void setAddress(String street, String city, 12 String state, String zip) 13 throws RemoteException , CreateException , NamingException ; 14 15 16 public void setAddress(AddressDO address) 17 throws RemoteException , CreateException , NamingException ; 18 19 public void addPhoneNumber(String number, byte type) 20 throws NamingException , CreateException , RemoteException ; 21 22 public AddressDO getAddress() throws RemoteException ; 23 24 public Name getName() throws RemoteException ; 25 public void setName(Name name) throws RemoteException ; 26 27 public boolean getHasGoodCredit() throws RemoteException ; 28 public void setHasGoodCredit(boolean flag) throws RemoteException ; 29 public Integer getId() throws RemoteException ; 30 31 public void setCreditCard(Date expCreditcard, String numbCreditcard, String nameCreditcard, String orgCreditcard ,String nameCreditCompany, String streetAddress, String cityAddress, String stateAddress, String zipAddress ) throws RemoteException ; 32 33 } 34 | Popular Tags |