KickJava   Java API By Example, From Geeks To Geeks.

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


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 Product extends TestObject
7 {
8   public long determineObjectId() throws TestException;
9
10   public long getId();
11
12   public boolean isNullId();
13
14   public int getProductNumber();
15
16   public boolean isNullProductNumber();
17
18   public void setProductNumber(int value) throws TestException;
19
20   public void setNullProductNumber() throws TestException;
21
22   public String JavaDoc getName();
23
24   public boolean isNullName();
25
26   public void setName(String JavaDoc value) throws TestException;
27
28   public void setNullName() throws TestException;
29
30   public byte[] getDescription();
31
32   public boolean isNullDescription();
33
34   public void setDescription(byte[] value) throws TestException;
35
36   public void setNullDescription() throws TestException;
37
38   // Set operations:
39

40   public Orderline[] getOrderlines() throws TestException;
41
42   public Orderline[] getOrderlines(OrderlineQbe qbe) throws TestException;
43
44   public OrderlineCursor getOrderlinesCursor() throws TestException;
45
46   public OrderlineCursor getOrderlinesCursor(OrderlineQbe qbe) throws TestException;
47
48   public void addToOrderlines(Orderline orderlines) throws TestException;
49
50   public Orderline createOrderlineInOrderlines() throws TestException;
51
52   // Place your custom code BETWEEN the following tags
53
//<DjenericManualCode>
54
//</DjenericManualCode>
55
}
Popular Tags