001 /*
002 * XML Type: application-clientType
003 * Namespace: http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0
004 * Java type: org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo.client;
009
010
011 /**
012 * An XML application-clientType(@http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0).
013 *
014 * This is a complex type.
015 */
016 public interface GerApplicationClientType extends org.apache.xmlbeans.XmlObject
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerApplicationClientType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8E52CD638C3DF4E0BC8B132353212DF7").resolveHandle("applicationclienttypec0f6type");
020
021 /**
022 * Gets the "client-environment" element
023 */
024 org.apache.geronimo.deployment.xbeans.EnvironmentType getClientEnvironment();
025
026 /**
027 * Sets the "client-environment" element
028 */
029 void setClientEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType clientEnvironment);
030
031 /**
032 * Appends and returns a new empty "client-environment" element
033 */
034 org.apache.geronimo.deployment.xbeans.EnvironmentType addNewClientEnvironment();
035
036 /**
037 * Gets the "server-environment" element
038 */
039 org.apache.geronimo.deployment.xbeans.EnvironmentType getServerEnvironment();
040
041 /**
042 * Sets the "server-environment" element
043 */
044 void setServerEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType serverEnvironment);
045
046 /**
047 * Appends and returns a new empty "server-environment" element
048 */
049 org.apache.geronimo.deployment.xbeans.EnvironmentType addNewServerEnvironment();
050
051 /**
052 * Gets array of all "gbean-ref" elements
053 */
054 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType[] getGbeanRefArray();
055
056 /**
057 * Gets ith "gbean-ref" element
058 */
059 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType getGbeanRefArray(int i);
060
061 /**
062 * Returns number of "gbean-ref" element
063 */
064 int sizeOfGbeanRefArray();
065
066 /**
067 * Sets array of all "gbean-ref" element
068 */
069 void setGbeanRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType[] gbeanRefArray);
070
071 /**
072 * Sets ith "gbean-ref" element
073 */
074 void setGbeanRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType gbeanRef);
075
076 /**
077 * Inserts and returns a new empty value (as xml) as the ith "gbean-ref" element
078 */
079 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType insertNewGbeanRef(int i);
080
081 /**
082 * Appends and returns a new empty value (as xml) as the last "gbean-ref" element
083 */
084 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType addNewGbeanRef();
085
086 /**
087 * Removes the ith "gbean-ref" element
088 */
089 void removeGbeanRef(int i);
090
091 /**
092 * Gets array of all "ejb-ref" elements
093 */
094 org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType[] getEjbRefArray();
095
096 /**
097 * Gets ith "ejb-ref" element
098 */
099 org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType getEjbRefArray(int i);
100
101 /**
102 * Returns number of "ejb-ref" element
103 */
104 int sizeOfEjbRefArray();
105
106 /**
107 * Sets array of all "ejb-ref" element
108 */
109 void setEjbRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType[] ejbRefArray);
110
111 /**
112 * Sets ith "ejb-ref" element
113 */
114 void setEjbRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType ejbRef);
115
116 /**
117 * Inserts and returns a new empty value (as xml) as the ith "ejb-ref" element
118 */
119 org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType insertNewEjbRef(int i);
120
121 /**
122 * Appends and returns a new empty value (as xml) as the last "ejb-ref" element
123 */
124 org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType addNewEjbRef();
125
126 /**
127 * Removes the ith "ejb-ref" element
128 */
129 void removeEjbRef(int i);
130
131 /**
132 * Gets array of all "service-ref" elements
133 */
134 org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType[] getServiceRefArray();
135
136 /**
137 * Gets ith "service-ref" element
138 */
139 org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType getServiceRefArray(int i);
140
141 /**
142 * Returns number of "service-ref" element
143 */
144 int sizeOfServiceRefArray();
145
146 /**
147 * Sets array of all "service-ref" element
148 */
149 void setServiceRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType[] serviceRefArray);
150
151 /**
152 * Sets ith "service-ref" element
153 */
154 void setServiceRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType serviceRef);
155
156 /**
157 * Inserts and returns a new empty value (as xml) as the ith "service-ref" element
158 */
159 org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType insertNewServiceRef(int i);
160
161 /**
162 * Appends and returns a new empty value (as xml) as the last "service-ref" element
163 */
164 org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType addNewServiceRef();
165
166 /**
167 * Removes the ith "service-ref" element
168 */
169 void removeServiceRef(int i);
170
171 /**
172 * Gets array of all "resource-ref" elements
173 */
174 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType[] getResourceRefArray();
175
176 /**
177 * Gets ith "resource-ref" element
178 */
179 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType getResourceRefArray(int i);
180
181 /**
182 * Returns number of "resource-ref" element
183 */
184 int sizeOfResourceRefArray();
185
186 /**
187 * Sets array of all "resource-ref" element
188 */
189 void setResourceRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType[] resourceRefArray);
190
191 /**
192 * Sets ith "resource-ref" element
193 */
194 void setResourceRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType resourceRef);
195
196 /**
197 * Inserts and returns a new empty value (as xml) as the ith "resource-ref" element
198 */
199 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType insertNewResourceRef(int i);
200
201 /**
202 * Appends and returns a new empty value (as xml) as the last "resource-ref" element
203 */
204 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType addNewResourceRef();
205
206 /**
207 * Removes the ith "resource-ref" element
208 */
209 void removeResourceRef(int i);
210
211 /**
212 * Gets array of all "resource-env-ref" elements
213 */
214 org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType[] getResourceEnvRefArray();
215
216 /**
217 * Gets ith "resource-env-ref" element
218 */
219 org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType getResourceEnvRefArray(int i);
220
221 /**
222 * Returns number of "resource-env-ref" element
223 */
224 int sizeOfResourceEnvRefArray();
225
226 /**
227 * Sets array of all "resource-env-ref" element
228 */
229 void setResourceEnvRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType[] resourceEnvRefArray);
230
231 /**
232 * Sets ith "resource-env-ref" element
233 */
234 void setResourceEnvRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType resourceEnvRef);
235
236 /**
237 * Inserts and returns a new empty value (as xml) as the ith "resource-env-ref" element
238 */
239 org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType insertNewResourceEnvRef(int i);
240
241 /**
242 * Appends and returns a new empty value (as xml) as the last "resource-env-ref" element
243 */
244 org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType addNewResourceEnvRef();
245
246 /**
247 * Removes the ith "resource-env-ref" element
248 */
249 void removeResourceEnvRef(int i);
250
251 /**
252 * Gets array of all "message-destination" elements
253 */
254 org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType[] getMessageDestinationArray();
255
256 /**
257 * Gets ith "message-destination" element
258 */
259 org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType getMessageDestinationArray(int i);
260
261 /**
262 * Returns number of "message-destination" element
263 */
264 int sizeOfMessageDestinationArray();
265
266 /**
267 * Sets array of all "message-destination" element
268 */
269 void setMessageDestinationArray(org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType[] messageDestinationArray);
270
271 /**
272 * Sets ith "message-destination" element
273 */
274 void setMessageDestinationArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType messageDestination);
275
276 /**
277 * Inserts and returns a new empty value (as xml) as the ith "message-destination" element
278 */
279 org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType insertNewMessageDestination(int i);
280
281 /**
282 * Appends and returns a new empty value (as xml) as the last "message-destination" element
283 */
284 org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType addNewMessageDestination();
285
286 /**
287 * Removes the ith "message-destination" element
288 */
289 void removeMessageDestination(int i);
290
291 /**
292 * Gets the "default-subject" element
293 */
294 org.apache.geronimo.xbeans.geronimo.security.GerSubjectInfoType getDefaultSubject();
295
296 /**
297 * True if has "default-subject" element
298 */
299 boolean isSetDefaultSubject();
300
301 /**
302 * Sets the "default-subject" element
303 */
304 void setDefaultSubject(org.apache.geronimo.xbeans.geronimo.security.GerSubjectInfoType defaultSubject);
305
306 /**
307 * Appends and returns a new empty "default-subject" element
308 */
309 org.apache.geronimo.xbeans.geronimo.security.GerSubjectInfoType addNewDefaultSubject();
310
311 /**
312 * Unsets the "default-subject" element
313 */
314 void unsetDefaultSubject();
315
316 /**
317 * Gets the "realm-name" element
318 */
319 java.lang.String getRealmName();
320
321 /**
322 * Gets (as xml) the "realm-name" element
323 */
324 org.apache.xmlbeans.XmlString xgetRealmName();
325
326 /**
327 * True if has "realm-name" element
328 */
329 boolean isSetRealmName();
330
331 /**
332 * Sets the "realm-name" element
333 */
334 void setRealmName(java.lang.String realmName);
335
336 /**
337 * Sets (as xml) the "realm-name" element
338 */
339 void xsetRealmName(org.apache.xmlbeans.XmlString realmName);
340
341 /**
342 * Unsets the "realm-name" element
343 */
344 void unsetRealmName();
345
346 /**
347 * Gets the "callback-handler" element
348 */
349 java.lang.String getCallbackHandler();
350
351 /**
352 * Gets (as xml) the "callback-handler" element
353 */
354 org.apache.xmlbeans.XmlString xgetCallbackHandler();
355
356 /**
357 * True if has "callback-handler" element
358 */
359 boolean isSetCallbackHandler();
360
361 /**
362 * Sets the "callback-handler" element
363 */
364 void setCallbackHandler(java.lang.String callbackHandler);
365
366 /**
367 * Sets (as xml) the "callback-handler" element
368 */
369 void xsetCallbackHandler(org.apache.xmlbeans.XmlString callbackHandler);
370
371 /**
372 * Unsets the "callback-handler" element
373 */
374 void unsetCallbackHandler();
375
376 /**
377 * Gets array of all "resource" elements
378 */
379 org.apache.geronimo.xbeans.geronimo.client.GerResourceType[] getResourceArray();
380
381 /**
382 * Gets ith "resource" element
383 */
384 org.apache.geronimo.xbeans.geronimo.client.GerResourceType getResourceArray(int i);
385
386 /**
387 * Returns number of "resource" element
388 */
389 int sizeOfResourceArray();
390
391 /**
392 * Sets array of all "resource" element
393 */
394 void setResourceArray(org.apache.geronimo.xbeans.geronimo.client.GerResourceType[] resourceArray);
395
396 /**
397 * Sets ith "resource" element
398 */
399 void setResourceArray(int i, org.apache.geronimo.xbeans.geronimo.client.GerResourceType resource);
400
401 /**
402 * Inserts and returns a new empty value (as xml) as the ith "resource" element
403 */
404 org.apache.geronimo.xbeans.geronimo.client.GerResourceType insertNewResource(int i);
405
406 /**
407 * Appends and returns a new empty value (as xml) as the last "resource" element
408 */
409 org.apache.geronimo.xbeans.geronimo.client.GerResourceType addNewResource();
410
411 /**
412 * Removes the ith "resource" element
413 */
414 void removeResource(int i);
415
416 /**
417 * Gets array of all "service" elements
418 */
419 org.apache.geronimo.deployment.xbeans.AbstractServiceType[] getServiceArray();
420
421 /**
422 * Gets ith "service" element
423 */
424 org.apache.geronimo.deployment.xbeans.AbstractServiceType getServiceArray(int i);
425
426 /**
427 * Returns number of "service" element
428 */
429 int sizeOfServiceArray();
430
431 /**
432 * Sets array of all "service" element
433 */
434 void setServiceArray(org.apache.geronimo.deployment.xbeans.AbstractServiceType[] serviceArray);
435
436 /**
437 * Sets ith "service" element
438 */
439 void setServiceArray(int i, org.apache.geronimo.deployment.xbeans.AbstractServiceType service);
440
441 /**
442 * Inserts and returns a new empty value (as xml) as the ith "service" element
443 */
444 org.apache.geronimo.deployment.xbeans.AbstractServiceType insertNewService(int i);
445
446 /**
447 * Appends and returns a new empty value (as xml) as the last "service" element
448 */
449 org.apache.geronimo.deployment.xbeans.AbstractServiceType addNewService();
450
451 /**
452 * Removes the ith "service" element
453 */
454 void removeService(int i);
455
456 /**
457 * A factory class with static methods for creating instances
458 * of this type.
459 */
460
461 public static final class Factory
462 {
463 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType newInstance() {
464 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
465
466 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType newInstance(org.apache.xmlbeans.XmlOptions options) {
467 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
468
469 /** @param xmlAsString the string value to parse */
470 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
471 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
472
473 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
474 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
475
476 /** @param file the file from which to load an xml document */
477 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
478 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
479
480 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
481 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
482
483 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
484 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
485
486 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
487 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
488
489 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
490 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
491
492 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
493 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
494
495 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
496 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
497
498 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
499 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
500
501 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
502 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
503
504 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
505 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
506
507 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
508 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
509
510 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
511 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
512
513 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
514 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
515 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
516
517 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
518 public static org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
519 return (org.apache.geronimo.xbeans.geronimo.client.GerApplicationClientType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
520
521 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
522 public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
523 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
524
525 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
526 public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
527 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
528
529 private Factory() { } // No instance of this class allowed
530 }
531 }