KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.jonas.jtests.beans.ejbql;
2
3 import java.util.Collection JavaDoc;
4 import java.util.Vector JavaDoc;
5
6 import javax.ejb.CreateException JavaDoc;
7 import javax.naming.NamingException JavaDoc;
8
9 public interface CustomerLocal extends javax.ejb.EJBLocalObject JavaDoc {
10
11     public Name getName();
12     public void setName(Name name);
13
14     public Integer JavaDoc getId();
15
16
17     public boolean getHasGoodCredit();
18     public void setHasGoodCredit(boolean flag);
19
20     public void addPhoneNumber(String JavaDoc number, byte type)
21         throws NamingException JavaDoc, CreateException JavaDoc;
22     public void removePhoneNumber(byte typeToRemove);
23     public void updatePhoneNumber(String JavaDoc number, byte typeToUpdate);
24
25     public Vector JavaDoc getPhoneList();
26
27     public AddressLocal getHomeAddress();
28     public void setHomeAddress(AddressLocal address);
29
30     public CreditCardLocal getCreditCard();
31     public void setCreditCard(CreditCardLocal card);
32
33     public Collection JavaDoc getPhoneNumbers( );
34     public void setPhoneNumbers(Collection JavaDoc phones);
35
36 }
37
Popular Tags