KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > interfaces > Customer


1 /*
2  * Generated by XDoclet - Do not edit!
3  */

4 package test.interfaces;
5
6 /**
7  * Remote interface for Customer.
8  * @xdoclet-generated at 16-04-05
9  * @copyright The XDoclet Team
10  * @author XDoclet
11  * @version 1.2.3
12  */

13 public interface Customer
14    extends test.interfaces.Person
15 {
16    /**
17     * Overriden from Person.
18     */

19    public void talkTo( )
20       throws java.rmi.RemoteException JavaDoc;
21
22    /**
23     * Overloaded works too.
24     */

25    public void talkTo( java.lang.String JavaDoc somebody )
26       throws java.rmi.RemoteException JavaDoc;
27
28    /**
29     * Accounts of this customer
30     */

31    public java.util.Collection JavaDoc getAccounts( )
32       throws java.rmi.RemoteException JavaDoc;
33
34    /**
35     * Just to show that generated methods can be exported to remote/local interafce
36     */

37    public void addAccount( test.interfaces.AccountValue added )
38       throws javax.ejb.FinderException JavaDoc, java.rmi.RemoteException JavaDoc;
39
40    public void setCustomerNormalValue( test.interfaces.CustomerNormalValue value )
41       throws test.interfaces.ApplicationException, java.rmi.RemoteException JavaDoc;
42
43    public test.interfaces.CustomerNormalValue getCustomerNormalValue( )
44       throws java.rmi.RemoteException JavaDoc;
45
46    /**
47     * Generated bulk accessor. This is set as remote to allow clients to get all data in one call.
48     */

49    public test.interfaces.CustomerData getData( )
50       throws java.rmi.RemoteException JavaDoc;
51
52    /**
53     * Accounts of this customer
54     */

55    public java.util.Collection JavaDoc getShippingAddresses( )
56       throws java.rmi.RemoteException JavaDoc;
57
58    public void setId( java.lang.String JavaDoc id )
59       throws java.rmi.RemoteException JavaDoc;
60
61    /**
62     * Name of the person.
63     */

64    public java.lang.String JavaDoc getName( )
65       throws java.rmi.RemoteException JavaDoc;
66
67    /**
68     * FirstName of the person.
69     */

70    public java.lang.String JavaDoc getFirstName( )
71       throws java.rmi.RemoteException JavaDoc;
72
73    public void setFirstName( java.lang.String JavaDoc firstName )
74       throws java.rmi.RemoteException JavaDoc;
75
76    /**
77     * phone of the person.
78     */

79    public java.lang.String JavaDoc getPhone( )
80       throws java.rmi.RemoteException JavaDoc;
81
82    public void setPhone( java.lang.String JavaDoc phone )
83       throws java.rmi.RemoteException JavaDoc;
84
85    /**
86     * fax of the person.
87     */

88    public java.lang.String JavaDoc getFax( )
89       throws java.rmi.RemoteException JavaDoc;
90
91    public void setFax( java.lang.String JavaDoc fax )
92       throws java.rmi.RemoteException JavaDoc;
93
94    /**
95     * The creation-date of the entity. This field is purely to track when this entity was created, and should be set in ejbCreate (<code>setCreationDate(new Date());</code>. It is not included in the value object. <p>We use the qualified name here because XDoclet doesn't copy imports from base classes into the generated interfaces.</p>
96     */

97    public java.util.Date JavaDoc getCreationDate( )
98       throws java.rmi.RemoteException JavaDoc;
99
100    public void setCreationDate( java.util.Date JavaDoc creationDate )
101       throws java.rmi.RemoteException JavaDoc;
102
103 }
104
Popular Tags