KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.genimen.djeneric.test.strong;
2
3 import java.util.HashMap JavaDoc;
4
5 // Place your custom code BETWEEN the following tags
6
//<DjenericManualCode id="1">
7
//</DjenericManualCode>
8
public interface TestSession
9 {
10   public final static String JavaDoc DOMAIN_NAME = "name";
11   public final static String JavaDoc DOMAIN_TYPE = "type";
12   public final static String JavaDoc DOMAIN_LENGTH = "length";
13   public final static String JavaDoc DOMAIN_DECIMALS = "decimals";
14   public final static String JavaDoc DOMAIN_ENFORCE = "enforce";
15   public final static String JavaDoc DOMAIN_FORMAT_MASK = "formatmask";
16   public final static String JavaDoc DOMAIN_DESCRIPTION = "description";
17   public final static String JavaDoc DOMAIN_VALUES = "values";
18   public final static String JavaDoc DOMAIN_VALUE_DESCRIPTIONS = "valuedescriptions";
19
20   public final static String JavaDoc TYPE_BIGDECIMAL = "BigDecimal";
21   public final static String JavaDoc TYPE_BOOLEAN = "boolean";
22   public final static String JavaDoc VV_BOOLEAN_1 = "1";
23   public final static String JavaDoc VV_BOOLEAN_0 = "0";
24   public final static String JavaDoc TYPE_BYTES = "bytes";
25   public final static String JavaDoc TYPE_DATE = "Date";
26   public final static String JavaDoc TYPE_DESCRIPTION = "description";
27   public final static String JavaDoc TYPE_IDENTIFIER = "identifier";
28   public final static String JavaDoc TYPE_INT = "int";
29   public final static String JavaDoc TYPE_LONG = "long";
30   public final static String JavaDoc TYPE_NAME = "name";
31   public final static String JavaDoc TYPE_ORDERNUMBER = "ordernumber";
32   public final static String JavaDoc TYPE_STRING = "String";
33   public final static String JavaDoc TYPE_TEXT = "text";
34   public final static String JavaDoc TYPE_ZIPCODE = "zipcode";
35
36   public HashMap JavaDoc[] getDomains() throws TestException;
37
38   public HashMap JavaDoc getDomain(String JavaDoc domainName) throws TestException;
39
40   public Customer createCustomer() throws TestException;
41
42   public CustomerQbe createCustomerQbe() throws TestException;
43
44   public Oql createCustomerOql() throws TestException;
45
46   public Customer getCustomer(long objectId) throws TestException;
47
48   public Customer[] getCustomerSet() throws TestException;
49
50   public Customer[] getCustomerSet(CustomerQbe qbe) throws TestException;
51
52   public Customer getCustomer(CustomerQbe qbe) throws TestException;
53
54   public CustomerCursor getCustomerCursor() throws TestException;
55
56   public CustomerCursor getCustomerCursor(CustomerQbe qbe) throws TestException;
57
58   public Customer[] getCustomerSet(Oql oql) throws TestException;
59
60   public Customer getCustomer(Oql oql) throws TestException;
61
62   public CustomerCursor getCustomerCursor(Oql oql) throws TestException;
63
64   public Orderline createOrderline() throws TestException;
65
66   public OrderlineQbe createOrderlineQbe() throws TestException;
67
68   public Oql createOrderlineOql() throws TestException;
69
70   public Orderline getOrderline(long objectId) throws TestException;
71
72   public Orderline[] getOrderlineSet() throws TestException;
73
74   public Orderline[] getOrderlineSet(OrderlineQbe qbe) throws TestException;
75
76   public Orderline getOrderline(OrderlineQbe qbe) throws TestException;
77
78   public OrderlineCursor getOrderlineCursor() throws TestException;
79
80   public OrderlineCursor getOrderlineCursor(OrderlineQbe qbe) throws TestException;
81
82   public Orderline[] getOrderlineSet(Oql oql) throws TestException;
83
84   public Orderline getOrderline(Oql oql) throws TestException;
85
86   public OrderlineCursor getOrderlineCursor(Oql oql) throws TestException;
87
88   public Order createOrder() throws TestException;
89
90   public OrderQbe createOrderQbe() throws TestException;
91
92   public Oql createOrderOql() throws TestException;
93
94   public Order getOrder(long objectId) throws TestException;
95
96   public Order[] getOrderSet() throws TestException;
97
98   public Order[] getOrderSet(OrderQbe qbe) throws TestException;
99
100   public Order getOrder(OrderQbe qbe) throws TestException;
101
102   public OrderCursor getOrderCursor() throws TestException;
103
104   public OrderCursor getOrderCursor(OrderQbe qbe) throws TestException;
105
106   public Order[] getOrderSet(Oql oql) throws TestException;
107
108   public Order getOrder(Oql oql) throws TestException;
109
110   public OrderCursor getOrderCursor(Oql oql) throws TestException;
111
112   public Product createProduct() throws TestException;
113
114   public ProductQbe createProductQbe() throws TestException;
115
116   public Oql createProductOql() throws TestException;
117
118   public Product getProduct(long objectId) throws TestException;
119
120   public Product[] getProductSet() throws TestException;
121
122   public Product[] getProductSet(ProductQbe qbe) throws TestException;
123
124   public Product getProduct(ProductQbe qbe) throws TestException;
125
126   public ProductCursor getProductCursor() throws TestException;
127
128   public ProductCursor getProductCursor(ProductQbe qbe) throws TestException;
129
130   public Product[] getProductSet(Oql oql) throws TestException;
131
132   public Product getProduct(Oql oql) throws TestException;
133
134   public ProductCursor getProductCursor(Oql oql) throws TestException;
135
136   public boolean isValid();
137
138   public boolean hasOutstandingChanges();
139
140   public void setCommitAllowed(boolean b);
141
142   public boolean isCommitAllowed();
143
144   public void commit() throws Exception JavaDoc;
145
146   public void close();
147
148   // Place your custom code BETWEEN the following tags
149
//<DjenericManualCode>
150
//</DjenericManualCode>
151
}
Popular Tags