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 listenerType indicates the deployment properties for a web
025: * application listener bean.
026: *
027: *
028: *
029: * <p>Java class for listenerType complex type.
030: *
031: * <p>The following schema fragment specifies the expected content contained within this class.
032: *
033: * <pre>
034: * <complexType name="listenerType">
035: * <complexContent>
036: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037: * <sequence>
038: * <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
039: * <element name="listener-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
040: * </sequence>
041: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
042: * </restriction>
043: * </complexContent>
044: * </complexType>
045: * </pre>
046: *
047: *
048: */
049: @XmlAccessorType(XmlAccessType.FIELD)
050: @XmlType(name="listenerType",propOrder={"description","displayName","icon","listenerClass"})
051: public class ListenerType {
052:
053: protected List<DescriptionType> description;
054: @XmlElement(name="display-name")
055: protected List<DisplayNameType> displayName;
056: protected List<IconType> icon;
057: @XmlElement(name="listener-class",required=true)
058: protected FullyQualifiedClassType listenerClass;
059: @XmlAttribute
060: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
061: @XmlID
062: protected java.lang.String id;
063:
064: /**
065: * Gets the value of the description property.
066: *
067: * <p>
068: * This accessor method returns a reference to the live list,
069: * not a snapshot. Therefore any modification you make to the
070: * returned list will be present inside the JAXB object.
071: * This is why there is not a <CODE>set</CODE> method for the description property.
072: *
073: * <p>
074: * For example, to add a new item, do as follows:
075: * <pre>
076: * getDescription().add(newItem);
077: * </pre>
078: *
079: *
080: * <p>
081: * Objects of the following type(s) are allowed in the list
082: * {@link DescriptionType }
083: *
084: *
085: */
086: public List<DescriptionType> getDescription() {
087: if (description == null) {
088: description = new ArrayList<DescriptionType>();
089: }
090: return this .description;
091: }
092:
093: /**
094: * Gets the value of the displayName property.
095: *
096: * <p>
097: * This accessor method returns a reference to the live list,
098: * not a snapshot. Therefore any modification you make to the
099: * returned list will be present inside the JAXB object.
100: * This is why there is not a <CODE>set</CODE> method for the displayName property.
101: *
102: * <p>
103: * For example, to add a new item, do as follows:
104: * <pre>
105: * getDisplayName().add(newItem);
106: * </pre>
107: *
108: *
109: * <p>
110: * Objects of the following type(s) are allowed in the list
111: * {@link DisplayNameType }
112: *
113: *
114: */
115: public List<DisplayNameType> getDisplayName() {
116: if (displayName == null) {
117: displayName = new ArrayList<DisplayNameType>();
118: }
119: return this .displayName;
120: }
121:
122: /**
123: * Gets the value of the icon property.
124: *
125: * <p>
126: * This accessor method returns a reference to the live list,
127: * not a snapshot. Therefore any modification you make to the
128: * returned list will be present inside the JAXB object.
129: * This is why there is not a <CODE>set</CODE> method for the icon property.
130: *
131: * <p>
132: * For example, to add a new item, do as follows:
133: * <pre>
134: * getIcon().add(newItem);
135: * </pre>
136: *
137: *
138: * <p>
139: * Objects of the following type(s) are allowed in the list
140: * {@link IconType }
141: *
142: *
143: */
144: public List<IconType> getIcon() {
145: if (icon == null) {
146: icon = new ArrayList<IconType>();
147: }
148: return this .icon;
149: }
150:
151: /**
152: * Gets the value of the listenerClass property.
153: *
154: * @return
155: * possible object is
156: * {@link FullyQualifiedClassType }
157: *
158: */
159: public FullyQualifiedClassType getListenerClass() {
160: return listenerClass;
161: }
162:
163: /**
164: * Sets the value of the listenerClass property.
165: *
166: * @param value
167: * allowed object is
168: * {@link FullyQualifiedClassType }
169: *
170: */
171: public void setListenerClass(FullyQualifiedClassType value) {
172: this .listenerClass = value;
173: }
174:
175: /**
176: * Gets the value of the id property.
177: *
178: * @return
179: * possible object is
180: * {@link java.lang.String }
181: *
182: */
183: public java.lang.String getId() {
184: return id;
185: }
186:
187: /**
188: * Sets the value of the id property.
189: *
190: * @param value
191: * allowed object is
192: * {@link java.lang.String }
193: *
194: */
195: public void setId(java.lang.String value) {
196: this.id = value;
197: }
198:
199: }
|