KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > genimen > djeneric > test > strong > Customer


1 package com.genimen.djeneric.test.strong;
2
3 // Place your custom code BETWEEN the following tags
4
//<DjenericManualCode id="1">
5
//</DjenericManualCode>
6
public interface Customer extends TestObject
7 {
8   public long determineObjectId() throws TestException;
9
10   public long getId();
11
12   public boolean isNullId();
13
14   public String JavaDoc getName();
15
16   public boolean isNullName();
17
18   public void setName(String JavaDoc value) throws TestException;
19
20   public void setNullName() throws TestException;
21
22   public String JavaDoc getStreet();
23
24   public boolean isNullStreet();
25
26   public void setStreet(String JavaDoc value) throws TestException;
27
28   public void setNullStreet() throws TestException;
29
30   public String JavaDoc getCity();
31
32   public boolean isNullCity();
33
34   public void setCity(String JavaDoc value) throws TestException;
35
36   public void setNullCity() throws TestException;
37
38   public String JavaDoc getZipCode();
39
40   public boolean isNullZipCode();
41
42   public void setZipCode(String JavaDoc value) throws TestException;
43
44   public void setNullZipCode() throws TestException;
45
46   // Set operations:
47

48   public Order[] getOrders() throws TestException;
49
50   public Order[] getOrders(OrderQbe qbe) throws TestException;
51
52   public OrderCursor getOrdersCursor() throws TestException;
53
54   public OrderCursor getOrdersCursor(OrderQbe qbe) throws TestException;
55
56   public void addToOrders(Order orders) throws TestException;
57
58   public Order createOrderInOrders() throws TestException;
59
60   // Place your custom code BETWEEN the following tags
61
//<DjenericManualCode>
62
//</DjenericManualCode>
63
}
Popular Tags