001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.10.31 at 10:25:50 AM GMT+08:00
006: //
007:
008: package org.apache.cxf.jaxws.javaee;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlID;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020:
021: /**
022: *
023: *
024: * The ejb-refType is used by ejb-ref elements for the
025: * declaration of a reference to an enterprise bean's home or
026: * to the remote business interface of a 3.0 bean.
027: * The declaration consists of:
028: *
029: * - an optional description
030: * - the EJB reference name used in the code of
031: * the Deployment Component that's referencing the enterprise
032: * bean.
033: * - the optional expected type of the referenced enterprise bean
034: * - the optional remote interface of the referenced enterprise bean
035: * or the remote business interface of the referenced enterprise
036: * bean
037: * - the optional expected home interface of the referenced
038: * enterprise bean. Not applicable if this ejb-ref
039: * refers to the remote business interface of a 3.0 bean.
040: * - optional ejb-link information, used to specify the
041: * referenced enterprise bean
042: * - optional elements to define injection of the named enterprise
043: * bean into a component field or property
044: *
045: *
046: *
047: * <p>Java class for ejb-refType complex type.
048: *
049: * <p>The following schema fragment specifies the expected content contained within this class.
050: *
051: * <pre>
052: * <complexType name="ejb-refType">
053: * <complexContent>
054: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
055: * <sequence>
056: * <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
057: * <element name="ejb-ref-name" type="{http://java.sun.com/xml/ns/javaee}ejb-ref-nameType"/>
058: * <element name="ejb-ref-type" type="{http://java.sun.com/xml/ns/javaee}ejb-ref-typeType" minOccurs="0"/>
059: * <element name="home" type="{http://java.sun.com/xml/ns/javaee}homeType" minOccurs="0"/>
060: * <element name="remote" type="{http://java.sun.com/xml/ns/javaee}remoteType" minOccurs="0"/>
061: * <element name="ejb-link" type="{http://java.sun.com/xml/ns/javaee}ejb-linkType" minOccurs="0"/>
062: * <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
063: * </sequence>
064: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
065: * </restriction>
066: * </complexContent>
067: * </complexType>
068: * </pre>
069: *
070: *
071: */
072: @XmlAccessorType(XmlAccessType.FIELD)
073: @XmlType(name="ejb-refType",propOrder={"description","ejbRefName","ejbRefType","home","remote","ejbLink","mappedName","injectionTarget"})
074: public class EjbRefType {
075:
076: protected List<DescriptionType> description;
077: @XmlElement(name="ejb-ref-name",required=true)
078: protected EjbRefNameType ejbRefName;
079: @XmlElement(name="ejb-ref-type")
080: protected EjbRefTypeType ejbRefType;
081: protected HomeType home;
082: protected RemoteType remote;
083: @XmlElement(name="ejb-link")
084: protected EjbLinkType ejbLink;
085: @XmlElement(name="mapped-name")
086: protected XsdStringType mappedName;
087: @XmlElement(name="injection-target")
088: protected List<InjectionTargetType> injectionTarget;
089: @XmlAttribute
090: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
091: @XmlID
092: protected java.lang.String id;
093:
094: /**
095: * Gets the value of the description property.
096: *
097: * <p>
098: * This accessor method returns a reference to the live list,
099: * not a snapshot. Therefore any modification you make to the
100: * returned list will be present inside the JAXB object.
101: * This is why there is not a <CODE>set</CODE> method for the description property.
102: *
103: * <p>
104: * For example, to add a new item, do as follows:
105: * <pre>
106: * getDescription().add(newItem);
107: * </pre>
108: *
109: *
110: * <p>
111: * Objects of the following type(s) are allowed in the list
112: * {@link DescriptionType }
113: *
114: *
115: */
116: public List<DescriptionType> getDescription() {
117: if (description == null) {
118: description = new ArrayList<DescriptionType>();
119: }
120: return this .description;
121: }
122:
123: /**
124: * Gets the value of the ejbRefName property.
125: *
126: * @return
127: * possible object is
128: * {@link EjbRefNameType }
129: *
130: */
131: public EjbRefNameType getEjbRefName() {
132: return ejbRefName;
133: }
134:
135: /**
136: * Sets the value of the ejbRefName property.
137: *
138: * @param value
139: * allowed object is
140: * {@link EjbRefNameType }
141: *
142: */
143: public void setEjbRefName(EjbRefNameType value) {
144: this .ejbRefName = value;
145: }
146:
147: /**
148: * Gets the value of the ejbRefType property.
149: *
150: * @return
151: * possible object is
152: * {@link EjbRefTypeType }
153: *
154: */
155: public EjbRefTypeType getEjbRefType() {
156: return ejbRefType;
157: }
158:
159: /**
160: * Sets the value of the ejbRefType property.
161: *
162: * @param value
163: * allowed object is
164: * {@link EjbRefTypeType }
165: *
166: */
167: public void setEjbRefType(EjbRefTypeType value) {
168: this .ejbRefType = value;
169: }
170:
171: /**
172: * Gets the value of the home property.
173: *
174: * @return
175: * possible object is
176: * {@link HomeType }
177: *
178: */
179: public HomeType getHome() {
180: return home;
181: }
182:
183: /**
184: * Sets the value of the home property.
185: *
186: * @param value
187: * allowed object is
188: * {@link HomeType }
189: *
190: */
191: public void setHome(HomeType value) {
192: this .home = value;
193: }
194:
195: /**
196: * Gets the value of the remote property.
197: *
198: * @return
199: * possible object is
200: * {@link RemoteType }
201: *
202: */
203: public RemoteType getRemote() {
204: return remote;
205: }
206:
207: /**
208: * Sets the value of the remote property.
209: *
210: * @param value
211: * allowed object is
212: * {@link RemoteType }
213: *
214: */
215: public void setRemote(RemoteType value) {
216: this .remote = value;
217: }
218:
219: /**
220: * Gets the value of the ejbLink property.
221: *
222: * @return
223: * possible object is
224: * {@link EjbLinkType }
225: *
226: */
227: public EjbLinkType getEjbLink() {
228: return ejbLink;
229: }
230:
231: /**
232: * Sets the value of the ejbLink property.
233: *
234: * @param value
235: * allowed object is
236: * {@link EjbLinkType }
237: *
238: */
239: public void setEjbLink(EjbLinkType value) {
240: this .ejbLink = value;
241: }
242:
243: /**
244: * Gets the value of the mappedName property.
245: *
246: * @return
247: * possible object is
248: * {@link XsdStringType }
249: *
250: */
251: public XsdStringType getMappedName() {
252: return mappedName;
253: }
254:
255: /**
256: * Sets the value of the mappedName property.
257: *
258: * @param value
259: * allowed object is
260: * {@link XsdStringType }
261: *
262: */
263: public void setMappedName(XsdStringType value) {
264: this .mappedName = value;
265: }
266:
267: /**
268: * Gets the value of the injectionTarget property.
269: *
270: * <p>
271: * This accessor method returns a reference to the live list,
272: * not a snapshot. Therefore any modification you make to the
273: * returned list will be present inside the JAXB object.
274: * This is why there is not a <CODE>set</CODE> method for the injectionTarget property.
275: *
276: * <p>
277: * For example, to add a new item, do as follows:
278: * <pre>
279: * getInjectionTarget().add(newItem);
280: * </pre>
281: *
282: *
283: * <p>
284: * Objects of the following type(s) are allowed in the list
285: * {@link InjectionTargetType }
286: *
287: *
288: */
289: public List<InjectionTargetType> getInjectionTarget() {
290: if (injectionTarget == null) {
291: injectionTarget = new ArrayList<InjectionTargetType>();
292: }
293: return this .injectionTarget;
294: }
295:
296: /**
297: * Gets the value of the id property.
298: *
299: * @return
300: * possible object is
301: * {@link java.lang.String }
302: *
303: */
304: public java.lang.String getId() {
305: return id;
306: }
307:
308: /**
309: * Sets the value of the id property.
310: *
311: * @param value
312: * allowed object is
313: * {@link java.lang.String }
314: *
315: */
316: public void setId(java.lang.String value) {
317: this.id = value;
318: }
319:
320: }
|