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.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAnyElement; 16 import javax.xml.bind.annotation.XmlElement; 17 import javax.xml.bind.annotation.XmlElements; 18 import javax.xml.bind.annotation.XmlRootElement; 19 import javax.xml.bind.annotation.XmlType; 20 import org.w3c.dom.Element; 21 22 23 /** 24 * <p>Java class for anonymous complex type. 25 * 26 * <p>The following schema fragment specifies the expected content contained within this class. 27 * 28 * <pre> 29 * <complexType> 30 * <complexContent> 31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 32 * <sequence> 33 * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/> 34 * <element ref="{http://wadl.dev.java.net/2009/02}grammars" minOccurs="0"/> 35 * <element ref="{http://wadl.dev.java.net/2009/02}resources" maxOccurs="unbounded" minOccurs="0"/> 36 * <choice maxOccurs="unbounded" minOccurs="0"> 37 * <element ref="{http://wadl.dev.java.net/2009/02}resource_type"/> 38 * <element ref="{http://wadl.dev.java.net/2009/02}method"/> 39 * <element ref="{http://wadl.dev.java.net/2009/02}representation"/> 40 * <element ref="{http://wadl.dev.java.net/2009/02}param"/> 41 * </choice> 42 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 43 * </sequence> 44 * </restriction> 45 * </complexContent> 46 * </complexType> 47 * </pre> 48 * 49 * 50 */ 51 @XmlAccessorType(XmlAccessType.FIELD) 52 @XmlType(name = "", propOrder = { 53 "doc", 54 "grammars", 55 "resources", 56 "resourceTypeOrMethodOrRepresentation", 57 "any" 58 }) 59 @XmlRootElement(name = "application") 60 public class Application { 61 62 protected List<Doc> doc; 63 protected Grammars grammars; 64 protected List<Resources> resources; 65 @XmlElements({ 66 @XmlElement(name = "representation", type = Representation.class), 67 @XmlElement(name = "method", type = Method.class), 68 @XmlElement(name = "param", type = Param.class), 69 @XmlElement(name = "resource_type", type = ResourceType.class) 70 }) 71 protected List<Object> resourceTypeOrMethodOrRepresentation; 72 @XmlAnyElement(lax = true) 73 protected List<Object> any; 74 75 /** 76 * Gets the value of the doc property. 77 * 78 * <p> 79 * This accessor method returns a reference to the live list, 80 * not a snapshot. Therefore any modification you make to the 81 * returned list will be present inside the JAXB object. 82 * This is why there is not a <CODE>set</CODE> method for the doc property. 83 * 84 * <p> 85 * For example, to add a new item, do as follows: 86 * <pre> 87 * getDoc().add(newItem); 88 * </pre> 89 * 90 * 91 * <p> 92 * Objects of the following type(s) are allowed in the list 93 * {@link Doc } 94 * 95 * 96 */ 97 public List<Doc> getDoc() { 98 if (doc == null) { 99 doc = new ArrayList<Doc>(); 100 } 101 return this.doc; 102 } 103 104 /** 105 * Gets the value of the grammars property. 106 * 107 * @return 108 * possible object is 109 * {@link Grammars } 110 * 111 */ 112 public Grammars getGrammars() { 113 return grammars; 114 } 115 116 /** 117 * Sets the value of the grammars property. 118 * 119 * @param value 120 * allowed object is 121 * {@link Grammars } 122 * 123 */ 124 public void setGrammars(Grammars value) { 125 this.grammars = value; 126 } 127 128 /** 129 * Gets the value of the resources 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 resources property. 136 * 137 * <p> 138 * For example, to add a new item, do as follows: 139 * <pre> 140 * getResources().add(newItem); 141 * </pre> 142 * 143 * 144 * <p> 145 * Objects of the following type(s) are allowed in the list 146 * {@link Resources } 147 * 148 * 149 */ 150 public List<Resources> getResources() { 151 if (resources == null) { 152 resources = new ArrayList<Resources>(); 153 } 154 return this.resources; 155 } 156 157 /** 158 * Gets the value of the resourceTypeOrMethodOrRepresentation property. 159 * 160 * <p> 161 * This accessor method returns a reference to the live list, 162 * not a snapshot. Therefore any modification you make to the 163 * returned list will be present inside the JAXB object. 164 * This is why there is not a <CODE>set</CODE> method for the resourceTypeOrMethodOrRepresentation property. 165 * 166 * <p> 167 * For example, to add a new item, do as follows: 168 * <pre> 169 * getResourceTypeOrMethodOrRepresentation().add(newItem); 170 * </pre> 171 * 172 * 173 * <p> 174 * Objects of the following type(s) are allowed in the list 175 * {@link Representation } 176 * {@link Method } 177 * {@link Param } 178 * {@link ResourceType } 179 * 180 * 181 */ 182 public List<Object> getResourceTypeOrMethodOrRepresentation() { 183 if (resourceTypeOrMethodOrRepresentation == null) { 184 resourceTypeOrMethodOrRepresentation = new ArrayList<Object>(); 185 } 186 return this.resourceTypeOrMethodOrRepresentation; 187 } 188 189 /** 190 * Gets the value of the any property. 191 * 192 * <p> 193 * This accessor method returns a reference to the live list, 194 * not a snapshot. Therefore any modification you make to the 195 * returned list will be present inside the JAXB object. 196 * This is why there is not a <CODE>set</CODE> method for the any property. 197 * 198 * <p> 199 * For example, to add a new item, do as follows: 200 * <pre> 201 * getAny().add(newItem); 202 * </pre> 203 * 204 * 205 * <p> 206 * Objects of the following type(s) are allowed in the list 207 * {@link Element } 208 * {@link Object } 209 * 210 * 211 */ 212 public List<Object> getAny() { 213 if (any == null) { 214 any = new ArrayList<Object>(); 215 } 216 return this.any; 217 } 218 219 }