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.XmlElement;
056: import javax.xml.bind.annotation.XmlRootElement;
057: import javax.xml.bind.annotation.XmlType;
058:
059: /**
060: *
061: */
062: @XmlAccessorType(XmlAccessType.FIELD)
063: @XmlType(name="",propOrder={"name","uniqueId","ejb","pmDescriptors","cmpResource","messageDestination","webserviceDescription"})
064: @XmlRootElement(name="enterprise-beans")
065: public class EnterpriseBeans {
066:
067: protected String name;
068: @XmlElement(name="unique-id")
069: protected String uniqueId;
070: protected List<Ejb> ejb;
071: @XmlElement(name="pm-descriptors")
072: protected PmDescriptors pmDescriptors;
073: @XmlElement(name="cmp-resource")
074: protected CmpResource cmpResource;
075: @XmlElement(name="message-destination")
076: protected List<MessageDestination> messageDestination;
077: @XmlElement(name="webservice-description")
078: protected List<WebserviceDescription> webserviceDescription;
079:
080: /**
081: * Gets the value of the name property.
082: *
083: * @return
084: * possible object is
085: * {@link String }
086: *
087: */
088: public String getName() {
089: return name;
090: }
091:
092: /**
093: * Sets the value of the name property.
094: *
095: * @param value
096: * allowed object is
097: * {@link String }
098: *
099: */
100: public void setName(String value) {
101: this .name = value;
102: }
103:
104: /**
105: * Gets the value of the uniqueId property.
106: *
107: * @return
108: * possible object is
109: * {@link String }
110: *
111: */
112: public String getUniqueId() {
113: return uniqueId;
114: }
115:
116: /**
117: * Sets the value of the uniqueId property.
118: *
119: * @param value
120: * allowed object is
121: * {@link String }
122: *
123: */
124: public void setUniqueId(String value) {
125: this .uniqueId = value;
126: }
127:
128: /**
129: * Gets the value of the ejb property.
130: *
131: * <p>
132: * This accessor method returns a reference to the live list,
133: * not a snapshot. Therefore any modification you make to the
134: * returned list will be present inside the JAXB object.
135: * This is why there is not a <CODE>set</CODE> method for the ejb property.
136: *
137: * <p>
138: * For example, to add a new item, do as follows:
139: * <pre>
140: * getEjb().add(newItem);
141: * </pre>
142: *
143: *
144: * <p>
145: * Objects of the following type(s) are allowed in the list
146: * {@link Ejb }
147: *
148: *
149: */
150: public List<Ejb> getEjb() {
151: if (ejb == null) {
152: ejb = new ArrayList<Ejb>();
153: }
154: return this .ejb;
155: }
156:
157: /**
158: * Gets the value of the pmDescriptors property.
159: *
160: * @return
161: * possible object is
162: * {@link PmDescriptors }
163: *
164: */
165: public PmDescriptors getPmDescriptors() {
166: return pmDescriptors;
167: }
168:
169: /**
170: * Sets the value of the pmDescriptors property.
171: *
172: * @param value
173: * allowed object is
174: * {@link PmDescriptors }
175: *
176: */
177: public void setPmDescriptors(PmDescriptors value) {
178: this .pmDescriptors = value;
179: }
180:
181: /**
182: * Gets the value of the cmpResource property.
183: *
184: * @return
185: * possible object is
186: * {@link CmpResource }
187: *
188: */
189: public CmpResource getCmpResource() {
190: return cmpResource;
191: }
192:
193: /**
194: * Sets the value of the cmpResource property.
195: *
196: * @param value
197: * allowed object is
198: * {@link CmpResource }
199: *
200: */
201: public void setCmpResource(CmpResource value) {
202: this .cmpResource = value;
203: }
204:
205: /**
206: * Gets the value of the messageDestination property.
207: *
208: * <p>
209: * This accessor method returns a reference to the live list,
210: * not a snapshot. Therefore any modification you make to the
211: * returned list will be present inside the JAXB object.
212: * This is why there is not a <CODE>set</CODE> method for the messageDestination property.
213: *
214: * <p>
215: * For example, to add a new item, do as follows:
216: * <pre>
217: * getMessageDestination().add(newItem);
218: * </pre>
219: *
220: *
221: * <p>
222: * Objects of the following type(s) are allowed in the list
223: * {@link MessageDestination }
224: *
225: *
226: */
227: public List<MessageDestination> getMessageDestination() {
228: if (messageDestination == null) {
229: messageDestination = new ArrayList<MessageDestination>();
230: }
231: return this .messageDestination;
232: }
233:
234: /**
235: * Gets the value of the webserviceDescription property.
236: *
237: * <p>
238: * This accessor method returns a reference to the live list,
239: * not a snapshot. Therefore any modification you make to the
240: * returned list will be present inside the JAXB object.
241: * This is why there is not a <CODE>set</CODE> method for the webserviceDescription property.
242: *
243: * <p>
244: * For example, to add a new item, do as follows:
245: * <pre>
246: * getWebserviceDescription().add(newItem);
247: * </pre>
248: *
249: *
250: * <p>
251: * Objects of the following type(s) are allowed in the list
252: * {@link WebserviceDescription }
253: *
254: *
255: */
256: public List<WebserviceDescription> getWebserviceDescription() {
257: if (webserviceDescription == null) {
258: webserviceDescription = new ArrayList<WebserviceDescription>();
259: }
260: return this.webserviceDescription;
261: }
262:
263: }
|