KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ejbql > CustomerRemote


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