1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2013.05.27 at 06:54:03 PM EDT
6 //
7
8
9 package org.apache.juddi.v3.client.mapping.wadl;
10
11 import java.util.ArrayList;
12 import java.util.HashMap;
13 import java.util.List;
14 import java.util.Map;
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlAnyAttribute;
18 import javax.xml.bind.annotation.XmlAnyElement;
19 import javax.xml.bind.annotation.XmlAttribute;
20 import javax.xml.bind.annotation.XmlRootElement;
21 import javax.xml.bind.annotation.XmlSchemaType;
22 import javax.xml.bind.annotation.XmlType;
23 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
24 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
25 import javax.xml.namespace.QName;
26 import org.w3c.dom.Element;
27
28
29 /**
30 * <p>Java class for anonymous complex type.
31 *
32 * <p>The following schema fragment specifies the expected content contained within this class.
33 *
34 * <pre>
35 * <complexType>
36 * <complexContent>
37 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
38 * <sequence>
39 * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
40 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
41 * </sequence>
42 * <attribute name="resource_type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
43 * <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}token" />
44 * <attribute name="rev" type="{http://www.w3.org/2001/XMLSchema}token" />
45 * <anyAttribute processContents='lax' namespace='##other'/>
46 * </restriction>
47 * </complexContent>
48 * </complexType>
49 * </pre>
50 *
51 *
52 */
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name = "", propOrder = {
55 "doc",
56 "any"
57 })
58 @XmlRootElement(name = "link")
59 public class Link {
60
61 protected List<Doc> doc;
62 @XmlAnyElement(lax = true)
63 protected List<Object> any;
64 @XmlAttribute(name = "resource_type")
65 @XmlSchemaType(name = "anyURI")
66 protected String resourceType;
67 @XmlAttribute
68 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
69 @XmlSchemaType(name = "token")
70 protected String rel;
71 @XmlAttribute
72 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
73 @XmlSchemaType(name = "token")
74 protected String rev;
75 @XmlAnyAttribute
76 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
77
78 /**
79 * Gets the value of the doc property.
80 *
81 * <p>
82 * This accessor method returns a reference to the live list,
83 * not a snapshot. Therefore any modification you make to the
84 * returned list will be present inside the JAXB object.
85 * This is why there is not a <CODE>set</CODE> method for the doc property.
86 *
87 * <p>
88 * For example, to add a new item, do as follows:
89 * <pre>
90 * getDoc().add(newItem);
91 * </pre>
92 *
93 *
94 * <p>
95 * Objects of the following type(s) are allowed in the list
96 * {@link Doc }
97 *
98 *
99 */
100 public List<Doc> getDoc() {
101 if (doc == null) {
102 doc = new ArrayList<Doc>();
103 }
104 return this.doc;
105 }
106
107 /**
108 * Gets the value of the any property.
109 *
110 * <p>
111 * This accessor method returns a reference to the live list,
112 * not a snapshot. Therefore any modification you make to the
113 * returned list will be present inside the JAXB object.
114 * This is why there is not a <CODE>set</CODE> method for the any property.
115 *
116 * <p>
117 * For example, to add a new item, do as follows:
118 * <pre>
119 * getAny().add(newItem);
120 * </pre>
121 *
122 *
123 * <p>
124 * Objects of the following type(s) are allowed in the list
125 * {@link Element }
126 * {@link Object }
127 *
128 *
129 */
130 public List<Object> getAny() {
131 if (any == null) {
132 any = new ArrayList<Object>();
133 }
134 return this.any;
135 }
136
137 /**
138 * Gets the value of the resourceType property.
139 *
140 * @return
141 * possible object is
142 * {@link String }
143 *
144 */
145 public String getResourceType() {
146 return resourceType;
147 }
148
149 /**
150 * Sets the value of the resourceType property.
151 *
152 * @param value
153 * allowed object is
154 * {@link String }
155 *
156 */
157 public void setResourceType(String value) {
158 this.resourceType = value;
159 }
160
161 /**
162 * Gets the value of the rel property.
163 *
164 * @return
165 * possible object is
166 * {@link String }
167 *
168 */
169 public String getRel() {
170 return rel;
171 }
172
173 /**
174 * Sets the value of the rel property.
175 *
176 * @param value
177 * allowed object is
178 * {@link String }
179 *
180 */
181 public void setRel(String value) {
182 this.rel = value;
183 }
184
185 /**
186 * Gets the value of the rev property.
187 *
188 * @return
189 * possible object is
190 * {@link String }
191 *
192 */
193 public String getRev() {
194 return rev;
195 }
196
197 /**
198 * Sets the value of the rev property.
199 *
200 * @param value
201 * allowed object is
202 * {@link String }
203 *
204 */
205 public void setRev(String value) {
206 this.rev = value;
207 }
208
209 /**
210 * Gets a map that contains attributes that aren't bound to any typed property on this class.
211 *
212 * <p>
213 * the map is keyed by the name of the attribute and
214 * the value is the string value of the attribute.
215 *
216 * the map returned by this method is live, and you can add new attribute
217 * by updating the map directly. Because of this design, there's no setter.
218 *
219 *
220 * @return
221 * always non-null
222 */
223 public Map<QName, String> getOtherAttributes() {
224 return otherAttributes;
225 }
226
227 }