KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sap > mw > jco > JCO


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package com.sap.mw.jco;
17
18 import java.util.Properties JavaDoc;
19 import java.net.URL JavaDoc;
20
21 /**
22  * **********************************************************************
23  * * W A R N I N G *
24  * **********************************************************************
25  *
26  * This is a mock object of the class, not the actual class.
27  * It's used to compile the code in absence of the actual class.
28  *
29  * This clsss is created by hand, not automatically.
30  *
31  * **********************************************************************
32  *
33  * @version CVS $Id: JCO.java 30932 2004-07-29 17:35:38Z vgritsenko $
34  */

35  
36 public class JCO {
37
38     public static void addClientPool(String JavaDoc SID, int poolsize, Properties JavaDoc properties) {
39     }
40     
41     public static void setTraceLevel(int level) {
42     }
43     
44     public static JCO.Client getClient(String JavaDoc key) {
45         return null;
46     }
47     
48     public static void releaseClient(JCO.Client client) {
49     }
50     
51     public static void removeClientPool(String JavaDoc key) {
52     }
53     
54     public static JCO.PoolManager getClientPoolManager() {
55         return null;
56     }
57     
58     public static class PoolManager {
59         
60         public JCO.Pool getPool(String JavaDoc name) {
61             return null;
62         }
63     }
64     
65     public static class Pool {
66      
67         public final void setTrace(boolean trace) {
68         }
69     }
70     
71     public static class Function {
72         
73         public JCO.ParameterList getImportParameterList() {
74             return null;
75         }
76         
77         public JCO.ParameterList getExportParameterList() {
78             return null;
79         }
80         
81         public JCO.ParameterList getTableParameterList() {
82             return null;
83         }
84         
85         public String JavaDoc getName() {
86             return null;
87         }
88     }
89     
90     public static class ParameterList extends Record {
91     }
92     
93     public static class Attributes {
94     }
95     
96     public static class Throughput {
97     }
98     
99     public static class Repository implements IRepository {
100         public Repository (String JavaDoc s, JCO.Client client) {
101         }
102         
103         public IFunctionTemplate getFunctionTemplate(String JavaDoc name) {
104             return null;
105         }
106     }
107     
108     public static class Record {
109         
110         public String JavaDoc getName(int index) {
111             return null;
112         }
113         
114         public final JCO.Field getField(int index) {
115             return null;
116         }
117         
118         public final JCO.Field getField(String JavaDoc name) {
119             return null;
120         }
121         
122         public String JavaDoc getString(int index) {
123             return null;
124         }
125         
126         public JCO.Structure getStructure(int index) {
127             return null;
128         }
129         
130         public JCO.Structure getStructure(String JavaDoc name) {
131             return null;
132         }
133         
134         public JCO.Table getTable(int index) {
135             return null;
136         }
137         
138         public JCO.Table getTable(String JavaDoc name) {
139             return null;
140         }
141         
142         public int getFieldCount() {
143             return -1;
144         }
145     }
146     
147     public static class Field {
148         
149         public boolean isStructure() {
150             return false;
151         }
152         
153         public void setValue(String JavaDoc value) throws JCO.ConversionException {
154         }
155     }
156     
157     public static class Table extends Record {
158         
159         public void appendRow() {
160         }
161         
162         public final int getNumRows() {
163             return -1;
164         }
165         
166         public void setRow(int pos) {
167         }
168     }
169     
170     public static class Structure extends Record {
171     }
172     
173     public static class AbapException extends Throwable JavaDoc {
174         
175         public final String JavaDoc getKey() {
176             return null;
177         }
178     }
179     
180     public static class ConversionException extends Throwable JavaDoc {
181     }
182     
183     public static class Client {
184         
185         public void abort(String JavaDoc message) {
186         }
187         
188         public void connect() {
189         }
190         
191         public Object JavaDoc clone() {
192             return null;
193         }
194         
195         public void disconnect() {
196         }
197         
198         public void execute(JCO.Function function) {
199         }
200         
201         public void execute(String JavaDoc name,
202                     JCO.ParameterList input,
203                     JCO.ParameterList output) {
204         }
205         
206         public void execute(String JavaDoc name,
207                     JCO.ParameterList input,
208                     JCO.ParameterList output,
209                     JCO.ParameterList tables) {
210         }
211         
212         public void execute(JCO.Function function,
213                     java.lang.String JavaDoc tid) {
214         }
215         
216         public void execute(JCO.Function function,
217                     String JavaDoc tid,
218                     String JavaDoc queue) {
219         }
220         
221         public void execute(JCO.Function function,
222                     String JavaDoc tid,
223                     String JavaDoc queue,
224                     int pos) {
225         }
226         
227         public void execute(String JavaDoc name,
228                     JCO.ParameterList input,
229                     JCO.ParameterList tables,
230                     String JavaDoc tid) {
231         }
232         
233         public void execute(String JavaDoc name,
234                     JCO.ParameterList input,
235                     JCO.ParameterList tables,
236                     String JavaDoc tid,
237                     String JavaDoc queue) {
238         }
239         
240         public void execute(String JavaDoc name,
241                     JCO.ParameterList input,
242                     JCO.ParameterList tables,
243                     String JavaDoc tid,
244                     String JavaDoc queue,
245                     int pos) {
246         }
247         
248         public String JavaDoc createTID() {
249             return null;
250         }
251         
252         public void confirmTID(String JavaDoc tid) {
253         }
254         
255         public final void ping() {
256         }
257         
258         public boolean getAbapDebug() {
259             return false;
260         }
261
262         public String JavaDoc getASHost() {
263             return null;
264         }
265
266         public JCO.Attributes getAttributes() {
267             return null;
268         }
269
270         public String JavaDoc getClient() {
271             return null;
272         }
273
274         public String JavaDoc getGroup() {
275             return null;
276         }
277
278         public String JavaDoc getGWHost() {
279             return null;
280         }
281
282         public String JavaDoc getGWServ() {
283             return null;
284         }
285
286         public String JavaDoc getLanguage() {
287             return null;
288         }
289
290         public String JavaDoc getMSHost() {
291             return null;
292         }
293
294         public String JavaDoc[][] getPropertyInfo() {
295             return null;
296         }
297
298         public int getSapGui() {
299             return -1;
300         }
301
302         public byte getState() {
303             return 0;
304         }
305
306         public String JavaDoc getSystemID() {
307             return null;
308         }
309
310         public String JavaDoc getSystemNumber() {
311             return null;
312         }
313
314         public String JavaDoc getTPName() {
315             return null;
316         }
317
318         public boolean getTrace() {
319             return false;
320         }
321
322         public URL JavaDoc getURL() {
323             return null;
324         }
325
326         public String JavaDoc getUser() {
327             return null;
328         }
329
330         public boolean isAlive() {
331             return false;
332         }
333
334         public void setAbapDebug(boolean debug) {
335         }
336
337         public void setProperty(String JavaDoc key, String JavaDoc value) {
338         }
339
340         public void setSapGui(int use_sapgui) {
341         }
342
343         public void setTrace(boolean trace) {
344         }
345
346         public final Properties JavaDoc getProperties() {
347             return null;
348         }
349
350         public final String JavaDoc getProperty(String JavaDoc key) {
351             return null;
352         }
353
354         public boolean isValid() {
355             return false;
356         }
357
358         public void setThroughput(JCO.Throughput throughput) {
359         }
360     }
361     
362 }
363
Popular Tags