001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: //
043: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
044: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
045: // Any modifications to this file will be lost upon recompilation of the source schema.
046: // Generated on: 2006.12.09 at 06:25:55 PM PST
047: //
048:
049: package org.netbeans.modules.compapp.javaee.sunresources.generated.sunejb30;
050:
051: import java.util.ArrayList;
052: import java.util.List;
053: import javax.xml.bind.annotation.XmlAccessType;
054: import javax.xml.bind.annotation.XmlAccessorType;
055: import javax.xml.bind.annotation.XmlAttribute;
056: import javax.xml.bind.annotation.XmlElement;
057: import javax.xml.bind.annotation.XmlRootElement;
058: import javax.xml.bind.annotation.XmlType;
059: import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
060: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
061:
062: /**
063: *
064: */
065: @XmlAccessorType(XmlAccessType.FIELD)
066: @XmlType(name="",propOrder={"ejbName","jndiName","ejbRef","resourceRef","resourceEnvRef","serviceRef","messageDestinationRef","passByReference","cmp","principal","mdbConnectionFactory","jmsDurableSubscriptionName","jmsMaxMessagesLoad","iorSecurityConfig","isReadOnlyBean","refreshPeriodInSeconds","commitOption","cmtTimeoutInSeconds","useThreadPoolId","genClasses","beanPool","beanCache","mdbResourceAdapter","webserviceEndpoint","flushAtEndOfMethod","checkpointedMethods","checkpointAtEndOfMethod"})
067: @XmlRootElement(name="ejb")
068: public class Ejb {
069:
070: @XmlAttribute(name="availability-enabled")
071: @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
072: protected String availabilityEnabled;
073: @XmlElement(name="ejb-name",required=true)
074: protected String ejbName;
075: @XmlElement(name="jndi-name")
076: protected String jndiName;
077: @XmlElement(name="ejb-ref")
078: protected List<EjbRef> ejbRef;
079: @XmlElement(name="resource-ref")
080: protected List<ResourceRef> resourceRef;
081: @XmlElement(name="resource-env-ref")
082: protected List<ResourceEnvRef> resourceEnvRef;
083: @XmlElement(name="service-ref")
084: protected List<ServiceRef> serviceRef;
085: @XmlElement(name="message-destination-ref")
086: protected List<MessageDestinationRef> messageDestinationRef;
087: @XmlElement(name="pass-by-reference")
088: protected String passByReference;
089: protected Cmp cmp;
090: protected Principal principal;
091: @XmlElement(name="mdb-connection-factory")
092: protected MdbConnectionFactory mdbConnectionFactory;
093: @XmlElement(name="jms-durable-subscription-name")
094: protected String jmsDurableSubscriptionName;
095: @XmlElement(name="jms-max-messages-load")
096: protected String jmsMaxMessagesLoad;
097: @XmlElement(name="ior-security-config")
098: protected IorSecurityConfig iorSecurityConfig;
099: @XmlElement(name="is-read-only-bean")
100: protected String isReadOnlyBean;
101: @XmlElement(name="refresh-period-in-seconds")
102: protected String refreshPeriodInSeconds;
103: @XmlElement(name="commit-option")
104: protected String commitOption;
105: @XmlElement(name="cmt-timeout-in-seconds")
106: protected String cmtTimeoutInSeconds;
107: @XmlElement(name="use-thread-pool-id")
108: protected String useThreadPoolId;
109: @XmlElement(name="gen-classes")
110: protected GenClasses genClasses;
111: @XmlElement(name="bean-pool")
112: protected BeanPool beanPool;
113: @XmlElement(name="bean-cache")
114: protected BeanCache beanCache;
115: @XmlElement(name="mdb-resource-adapter")
116: protected MdbResourceAdapter mdbResourceAdapter;
117: @XmlElement(name="webservice-endpoint")
118: protected List<WebserviceEndpoint> webserviceEndpoint;
119: @XmlElement(name="flush-at-end-of-method")
120: protected FlushAtEndOfMethod flushAtEndOfMethod;
121: @XmlElement(name="checkpointed-methods")
122: protected String checkpointedMethods;
123: @XmlElement(name="checkpoint-at-end-of-method")
124: protected CheckpointAtEndOfMethod checkpointAtEndOfMethod;
125:
126: /**
127: * Gets the value of the availabilityEnabled property.
128: *
129: * @return
130: * possible object is
131: * {@link String }
132: *
133: */
134: public String getAvailabilityEnabled() {
135: return availabilityEnabled;
136: }
137:
138: /**
139: * Sets the value of the availabilityEnabled property.
140: *
141: * @param value
142: * allowed object is
143: * {@link String }
144: *
145: */
146: public void setAvailabilityEnabled(String value) {
147: this .availabilityEnabled = value;
148: }
149:
150: /**
151: * Gets the value of the ejbName property.
152: *
153: * @return
154: * possible object is
155: * {@link String }
156: *
157: */
158: public String getEjbName() {
159: return ejbName;
160: }
161:
162: /**
163: * Sets the value of the ejbName property.
164: *
165: * @param value
166: * allowed object is
167: * {@link String }
168: *
169: */
170: public void setEjbName(String value) {
171: this .ejbName = value;
172: }
173:
174: /**
175: * Gets the value of the jndiName property.
176: *
177: * @return
178: * possible object is
179: * {@link String }
180: *
181: */
182: public String getJndiName() {
183: return jndiName;
184: }
185:
186: /**
187: * Sets the value of the jndiName property.
188: *
189: * @param value
190: * allowed object is
191: * {@link String }
192: *
193: */
194: public void setJndiName(String value) {
195: this .jndiName = value;
196: }
197:
198: /**
199: * Gets the value of the ejbRef property.
200: *
201: * <p>
202: * This accessor method returns a reference to the live list,
203: * not a snapshot. Therefore any modification you make to the
204: * returned list will be present inside the JAXB object.
205: * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
206: *
207: * <p>
208: * For example, to add a new item, do as follows:
209: * <pre>
210: * getEjbRef().add(newItem);
211: * </pre>
212: *
213: *
214: * <p>
215: * Objects of the following type(s) are allowed in the list
216: * {@link EjbRef }
217: *
218: *
219: */
220: public List<EjbRef> getEjbRef() {
221: if (ejbRef == null) {
222: ejbRef = new ArrayList<EjbRef>();
223: }
224: return this .ejbRef;
225: }
226:
227: /**
228: * Gets the value of the resourceRef property.
229: *
230: * <p>
231: * This accessor method returns a reference to the live list,
232: * not a snapshot. Therefore any modification you make to the
233: * returned list will be present inside the JAXB object.
234: * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
235: *
236: * <p>
237: * For example, to add a new item, do as follows:
238: * <pre>
239: * getResourceRef().add(newItem);
240: * </pre>
241: *
242: *
243: * <p>
244: * Objects of the following type(s) are allowed in the list
245: * {@link ResourceRef }
246: *
247: *
248: */
249: public List<ResourceRef> getResourceRef() {
250: if (resourceRef == null) {
251: resourceRef = new ArrayList<ResourceRef>();
252: }
253: return this .resourceRef;
254: }
255:
256: /**
257: * Gets the value of the resourceEnvRef property.
258: *
259: * <p>
260: * This accessor method returns a reference to the live list,
261: * not a snapshot. Therefore any modification you make to the
262: * returned list will be present inside the JAXB object.
263: * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
264: *
265: * <p>
266: * For example, to add a new item, do as follows:
267: * <pre>
268: * getResourceEnvRef().add(newItem);
269: * </pre>
270: *
271: *
272: * <p>
273: * Objects of the following type(s) are allowed in the list
274: * {@link ResourceEnvRef }
275: *
276: *
277: */
278: public List<ResourceEnvRef> getResourceEnvRef() {
279: if (resourceEnvRef == null) {
280: resourceEnvRef = new ArrayList<ResourceEnvRef>();
281: }
282: return this .resourceEnvRef;
283: }
284:
285: /**
286: * Gets the value of the serviceRef property.
287: *
288: * <p>
289: * This accessor method returns a reference to the live list,
290: * not a snapshot. Therefore any modification you make to the
291: * returned list will be present inside the JAXB object.
292: * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
293: *
294: * <p>
295: * For example, to add a new item, do as follows:
296: * <pre>
297: * getServiceRef().add(newItem);
298: * </pre>
299: *
300: *
301: * <p>
302: * Objects of the following type(s) are allowed in the list
303: * {@link ServiceRef }
304: *
305: *
306: */
307: public List<ServiceRef> getServiceRef() {
308: if (serviceRef == null) {
309: serviceRef = new ArrayList<ServiceRef>();
310: }
311: return this .serviceRef;
312: }
313:
314: /**
315: * Gets the value of the messageDestinationRef property.
316: *
317: * <p>
318: * This accessor method returns a reference to the live list,
319: * not a snapshot. Therefore any modification you make to the
320: * returned list will be present inside the JAXB object.
321: * This is why there is not a <CODE>set</CODE> method for the messageDestinationRef property.
322: *
323: * <p>
324: * For example, to add a new item, do as follows:
325: * <pre>
326: * getMessageDestinationRef().add(newItem);
327: * </pre>
328: *
329: *
330: * <p>
331: * Objects of the following type(s) are allowed in the list
332: * {@link MessageDestinationRef }
333: *
334: *
335: */
336: public List<MessageDestinationRef> getMessageDestinationRef() {
337: if (messageDestinationRef == null) {
338: messageDestinationRef = new ArrayList<MessageDestinationRef>();
339: }
340: return this .messageDestinationRef;
341: }
342:
343: /**
344: * Gets the value of the passByReference property.
345: *
346: * @return
347: * possible object is
348: * {@link String }
349: *
350: */
351: public String getPassByReference() {
352: return passByReference;
353: }
354:
355: /**
356: * Sets the value of the passByReference property.
357: *
358: * @param value
359: * allowed object is
360: * {@link String }
361: *
362: */
363: public void setPassByReference(String value) {
364: this .passByReference = value;
365: }
366:
367: /**
368: * Gets the value of the cmp property.
369: *
370: * @return
371: * possible object is
372: * {@link Cmp }
373: *
374: */
375: public Cmp getCmp() {
376: return cmp;
377: }
378:
379: /**
380: * Sets the value of the cmp property.
381: *
382: * @param value
383: * allowed object is
384: * {@link Cmp }
385: *
386: */
387: public void setCmp(Cmp value) {
388: this .cmp = value;
389: }
390:
391: /**
392: * Gets the value of the principal property.
393: *
394: * @return
395: * possible object is
396: * {@link Principal }
397: *
398: */
399: public Principal getPrincipal() {
400: return principal;
401: }
402:
403: /**
404: * Sets the value of the principal property.
405: *
406: * @param value
407: * allowed object is
408: * {@link Principal }
409: *
410: */
411: public void setPrincipal(Principal value) {
412: this .principal = value;
413: }
414:
415: /**
416: * Gets the value of the mdbConnectionFactory property.
417: *
418: * @return
419: * possible object is
420: * {@link MdbConnectionFactory }
421: *
422: */
423: public MdbConnectionFactory getMdbConnectionFactory() {
424: return mdbConnectionFactory;
425: }
426:
427: /**
428: * Sets the value of the mdbConnectionFactory property.
429: *
430: * @param value
431: * allowed object is
432: * {@link MdbConnectionFactory }
433: *
434: */
435: public void setMdbConnectionFactory(MdbConnectionFactory value) {
436: this .mdbConnectionFactory = value;
437: }
438:
439: /**
440: * Gets the value of the jmsDurableSubscriptionName property.
441: *
442: * @return
443: * possible object is
444: * {@link String }
445: *
446: */
447: public String getJmsDurableSubscriptionName() {
448: return jmsDurableSubscriptionName;
449: }
450:
451: /**
452: * Sets the value of the jmsDurableSubscriptionName property.
453: *
454: * @param value
455: * allowed object is
456: * {@link String }
457: *
458: */
459: public void setJmsDurableSubscriptionName(String value) {
460: this .jmsDurableSubscriptionName = value;
461: }
462:
463: /**
464: * Gets the value of the jmsMaxMessagesLoad property.
465: *
466: * @return
467: * possible object is
468: * {@link String }
469: *
470: */
471: public String getJmsMaxMessagesLoad() {
472: return jmsMaxMessagesLoad;
473: }
474:
475: /**
476: * Sets the value of the jmsMaxMessagesLoad property.
477: *
478: * @param value
479: * allowed object is
480: * {@link String }
481: *
482: */
483: public void setJmsMaxMessagesLoad(String value) {
484: this .jmsMaxMessagesLoad = value;
485: }
486:
487: /**
488: * Gets the value of the iorSecurityConfig property.
489: *
490: * @return
491: * possible object is
492: * {@link IorSecurityConfig }
493: *
494: */
495: public IorSecurityConfig getIorSecurityConfig() {
496: return iorSecurityConfig;
497: }
498:
499: /**
500: * Sets the value of the iorSecurityConfig property.
501: *
502: * @param value
503: * allowed object is
504: * {@link IorSecurityConfig }
505: *
506: */
507: public void setIorSecurityConfig(IorSecurityConfig value) {
508: this .iorSecurityConfig = value;
509: }
510:
511: /**
512: * Gets the value of the isReadOnlyBean property.
513: *
514: * @return
515: * possible object is
516: * {@link String }
517: *
518: */
519: public String getIsReadOnlyBean() {
520: return isReadOnlyBean;
521: }
522:
523: /**
524: * Sets the value of the isReadOnlyBean property.
525: *
526: * @param value
527: * allowed object is
528: * {@link String }
529: *
530: */
531: public void setIsReadOnlyBean(String value) {
532: this .isReadOnlyBean = value;
533: }
534:
535: /**
536: * Gets the value of the refreshPeriodInSeconds property.
537: *
538: * @return
539: * possible object is
540: * {@link String }
541: *
542: */
543: public String getRefreshPeriodInSeconds() {
544: return refreshPeriodInSeconds;
545: }
546:
547: /**
548: * Sets the value of the refreshPeriodInSeconds property.
549: *
550: * @param value
551: * allowed object is
552: * {@link String }
553: *
554: */
555: public void setRefreshPeriodInSeconds(String value) {
556: this .refreshPeriodInSeconds = value;
557: }
558:
559: /**
560: * Gets the value of the commitOption property.
561: *
562: * @return
563: * possible object is
564: * {@link String }
565: *
566: */
567: public String getCommitOption() {
568: return commitOption;
569: }
570:
571: /**
572: * Sets the value of the commitOption property.
573: *
574: * @param value
575: * allowed object is
576: * {@link String }
577: *
578: */
579: public void setCommitOption(String value) {
580: this .commitOption = value;
581: }
582:
583: /**
584: * Gets the value of the cmtTimeoutInSeconds property.
585: *
586: * @return
587: * possible object is
588: * {@link String }
589: *
590: */
591: public String getCmtTimeoutInSeconds() {
592: return cmtTimeoutInSeconds;
593: }
594:
595: /**
596: * Sets the value of the cmtTimeoutInSeconds property.
597: *
598: * @param value
599: * allowed object is
600: * {@link String }
601: *
602: */
603: public void setCmtTimeoutInSeconds(String value) {
604: this .cmtTimeoutInSeconds = value;
605: }
606:
607: /**
608: * Gets the value of the useThreadPoolId property.
609: *
610: * @return
611: * possible object is
612: * {@link String }
613: *
614: */
615: public String getUseThreadPoolId() {
616: return useThreadPoolId;
617: }
618:
619: /**
620: * Sets the value of the useThreadPoolId property.
621: *
622: * @param value
623: * allowed object is
624: * {@link String }
625: *
626: */
627: public void setUseThreadPoolId(String value) {
628: this .useThreadPoolId = value;
629: }
630:
631: /**
632: * Gets the value of the genClasses property.
633: *
634: * @return
635: * possible object is
636: * {@link GenClasses }
637: *
638: */
639: public GenClasses getGenClasses() {
640: return genClasses;
641: }
642:
643: /**
644: * Sets the value of the genClasses property.
645: *
646: * @param value
647: * allowed object is
648: * {@link GenClasses }
649: *
650: */
651: public void setGenClasses(GenClasses value) {
652: this .genClasses = value;
653: }
654:
655: /**
656: * Gets the value of the beanPool property.
657: *
658: * @return
659: * possible object is
660: * {@link BeanPool }
661: *
662: */
663: public BeanPool getBeanPool() {
664: return beanPool;
665: }
666:
667: /**
668: * Sets the value of the beanPool property.
669: *
670: * @param value
671: * allowed object is
672: * {@link BeanPool }
673: *
674: */
675: public void setBeanPool(BeanPool value) {
676: this .beanPool = value;
677: }
678:
679: /**
680: * Gets the value of the beanCache property.
681: *
682: * @return
683: * possible object is
684: * {@link BeanCache }
685: *
686: */
687: public BeanCache getBeanCache() {
688: return beanCache;
689: }
690:
691: /**
692: * Sets the value of the beanCache property.
693: *
694: * @param value
695: * allowed object is
696: * {@link BeanCache }
697: *
698: */
699: public void setBeanCache(BeanCache value) {
700: this .beanCache = value;
701: }
702:
703: /**
704: * Gets the value of the mdbResourceAdapter property.
705: *
706: * @return
707: * possible object is
708: * {@link MdbResourceAdapter }
709: *
710: */
711: public MdbResourceAdapter getMdbResourceAdapter() {
712: return mdbResourceAdapter;
713: }
714:
715: /**
716: * Sets the value of the mdbResourceAdapter property.
717: *
718: * @param value
719: * allowed object is
720: * {@link MdbResourceAdapter }
721: *
722: */
723: public void setMdbResourceAdapter(MdbResourceAdapter value) {
724: this .mdbResourceAdapter = value;
725: }
726:
727: /**
728: * Gets the value of the webserviceEndpoint property.
729: *
730: * <p>
731: * This accessor method returns a reference to the live list,
732: * not a snapshot. Therefore any modification you make to the
733: * returned list will be present inside the JAXB object.
734: * This is why there is not a <CODE>set</CODE> method for the webserviceEndpoint property.
735: *
736: * <p>
737: * For example, to add a new item, do as follows:
738: * <pre>
739: * getWebserviceEndpoint().add(newItem);
740: * </pre>
741: *
742: *
743: * <p>
744: * Objects of the following type(s) are allowed in the list
745: * {@link WebserviceEndpoint }
746: *
747: *
748: */
749: public List<WebserviceEndpoint> getWebserviceEndpoint() {
750: if (webserviceEndpoint == null) {
751: webserviceEndpoint = new ArrayList<WebserviceEndpoint>();
752: }
753: return this .webserviceEndpoint;
754: }
755:
756: /**
757: * Gets the value of the flushAtEndOfMethod property.
758: *
759: * @return
760: * possible object is
761: * {@link FlushAtEndOfMethod }
762: *
763: */
764: public FlushAtEndOfMethod getFlushAtEndOfMethod() {
765: return flushAtEndOfMethod;
766: }
767:
768: /**
769: * Sets the value of the flushAtEndOfMethod property.
770: *
771: * @param value
772: * allowed object is
773: * {@link FlushAtEndOfMethod }
774: *
775: */
776: public void setFlushAtEndOfMethod(FlushAtEndOfMethod value) {
777: this .flushAtEndOfMethod = value;
778: }
779:
780: /**
781: * Gets the value of the checkpointedMethods property.
782: *
783: * @return
784: * possible object is
785: * {@link String }
786: *
787: */
788: public String getCheckpointedMethods() {
789: return checkpointedMethods;
790: }
791:
792: /**
793: * Sets the value of the checkpointedMethods property.
794: *
795: * @param value
796: * allowed object is
797: * {@link String }
798: *
799: */
800: public void setCheckpointedMethods(String value) {
801: this .checkpointedMethods = value;
802: }
803:
804: /**
805: * Gets the value of the checkpointAtEndOfMethod property.
806: *
807: * @return
808: * possible object is
809: * {@link CheckpointAtEndOfMethod }
810: *
811: */
812: public CheckpointAtEndOfMethod getCheckpointAtEndOfMethod() {
813: return checkpointAtEndOfMethod;
814: }
815:
816: /**
817: * Sets the value of the checkpointAtEndOfMethod property.
818: *
819: * @param value
820: * allowed object is
821: * {@link CheckpointAtEndOfMethod }
822: *
823: */
824: public void setCheckpointAtEndOfMethod(CheckpointAtEndOfMethod value) {
825: this.checkpointAtEndOfMethod = value;
826: }
827:
828: }
|