001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.1-06/08/2006 12:05 AM(kohsuke)-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: 2008.11.21 at 03:32:15 PM MST 006 // 007 008 009 package edu.nrao.sss.astronomy.sesame; 010 011 import java.util.ArrayList; 012 import java.util.List; 013 import javax.xml.bind.annotation.XmlAccessType; 014 import javax.xml.bind.annotation.XmlAccessorType; 015 import javax.xml.bind.annotation.XmlAttribute; 016 import javax.xml.bind.annotation.XmlElement; 017 import javax.xml.bind.annotation.XmlRootElement; 018 import javax.xml.bind.annotation.XmlType; 019 import javax.xml.bind.annotation.XmlValue; 020 021 022 /** 023 * <p>Java class for anonymous complex type. 024 * 025 * <p>The following schema fragment specifies the expected content contained within this class. 026 * 027 * <pre> 028 * <complexType> 029 * <complexContent> 030 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 031 * <sequence> 032 * <element name="name"> 033 * <complexType> 034 * <simpleContent> 035 * <extension base="<http://www.w3.org/2001/XMLSchema>string"> 036 * <attribute name="option" type="{http://www.w3.org/2001/XMLSchema}string" /> 037 * </extension> 038 * </simpleContent> 039 * </complexType> 040 * </element> 041 * <element name="INFO" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 042 * <element name="ERROR" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 043 * <element ref="{}Resolver" maxOccurs="unbounded" minOccurs="0"/> 044 * </sequence> 045 * <attribute name="option" type="{http://www.w3.org/2001/XMLSchema}string" /> 046 * </restriction> 047 * </complexContent> 048 * </complexType> 049 * </pre> 050 * 051 * 052 */ 053 @XmlAccessorType(XmlAccessType.FIELD) 054 @XmlType(name = "", propOrder = { 055 "name", 056 "info", 057 "error", 058 "resolver" 059 }) 060 @XmlRootElement(name = "Target") 061 public class Target { 062 063 @XmlElement(required = true) 064 protected Target.Name name; 065 @XmlElement(name = "INFO", required = true) 066 protected List<String> info; 067 @XmlElement(name = "ERROR", required = true) 068 protected List<String> error; 069 @XmlElement(name = "Resolver", required = true) 070 protected List<Resolver> resolver; 071 @XmlAttribute 072 protected String option; 073 074 /** 075 * Gets the value of the name property. 076 * 077 * @return 078 * possible object is 079 * {@link Target.Name } 080 * 081 */ 082 public Target.Name getName() { 083 return name; 084 } 085 086 /** 087 * Sets the value of the name property. 088 * 089 * @param value 090 * allowed object is 091 * {@link Target.Name } 092 * 093 */ 094 public void setName(Target.Name value) { 095 this.name = value; 096 } 097 098 /** 099 * Gets the value of the info property. 100 * 101 * <p> 102 * This accessor method returns a reference to the live list, 103 * not a snapshot. Therefore any modification you make to the 104 * returned list will be present inside the JAXB object. 105 * This is why there is not a <CODE>set</CODE> method for the info property. 106 * 107 * <p> 108 * For example, to add a new item, do as follows: 109 * <pre> 110 * getINFO().add(newItem); 111 * </pre> 112 * 113 * 114 * <p> 115 * Objects of the following type(s) are allowed in the list 116 * {@link String } 117 * 118 * 119 */ 120 public List<String> getINFO() { 121 if (info == null) { 122 info = new ArrayList<String>(); 123 } 124 return this.info; 125 } 126 127 /** 128 * Gets the value of the error property. 129 * 130 * <p> 131 * This accessor method returns a reference to the live list, 132 * not a snapshot. Therefore any modification you make to the 133 * returned list will be present inside the JAXB object. 134 * This is why there is not a <CODE>set</CODE> method for the error property. 135 * 136 * <p> 137 * For example, to add a new item, do as follows: 138 * <pre> 139 * getERROR().add(newItem); 140 * </pre> 141 * 142 * 143 * <p> 144 * Objects of the following type(s) are allowed in the list 145 * {@link String } 146 * 147 * 148 */ 149 public List<String> getERROR() { 150 if (error == null) { 151 error = new ArrayList<String>(); 152 } 153 return this.error; 154 } 155 156 /** 157 * Gets the value of the resolver property. 158 * 159 * <p> 160 * This accessor method returns a reference to the live list, 161 * not a snapshot. Therefore any modification you make to the 162 * returned list will be present inside the JAXB object. 163 * This is why there is not a <CODE>set</CODE> method for the resolver property. 164 * 165 * <p> 166 * For example, to add a new item, do as follows: 167 * <pre> 168 * getResolver().add(newItem); 169 * </pre> 170 * 171 * 172 * <p> 173 * Objects of the following type(s) are allowed in the list 174 * {@link Resolver } 175 * 176 * 177 */ 178 public List<Resolver> getResolver() { 179 if (resolver == null) { 180 resolver = new ArrayList<Resolver>(); 181 } 182 return this.resolver; 183 } 184 185 /** 186 * Gets the value of the option property. 187 * 188 * @return 189 * possible object is 190 * {@link String } 191 * 192 */ 193 public String getOption() { 194 return option; 195 } 196 197 /** 198 * Sets the value of the option property. 199 * 200 * @param value 201 * allowed object is 202 * {@link String } 203 * 204 */ 205 public void setOption(String value) { 206 this.option = value; 207 } 208 209 210 /** 211 * <p>Java class for anonymous complex type. 212 * 213 * <p>The following schema fragment specifies the expected content contained within this class. 214 * 215 * <pre> 216 * <complexType> 217 * <simpleContent> 218 * <extension base="<http://www.w3.org/2001/XMLSchema>string"> 219 * <attribute name="option" type="{http://www.w3.org/2001/XMLSchema}string" /> 220 * </extension> 221 * </simpleContent> 222 * </complexType> 223 * </pre> 224 * 225 * 226 */ 227 @XmlAccessorType(XmlAccessType.FIELD) 228 @XmlType(name = "", propOrder = { 229 "value" 230 }) 231 public static class Name { 232 233 @XmlValue 234 protected String value; 235 @XmlAttribute 236 protected String option; 237 238 /** 239 * Gets the value of the value property. 240 * 241 * @return 242 * possible object is 243 * {@link String } 244 * 245 */ 246 public String getValue() { 247 return value; 248 } 249 250 /** 251 * Sets the value of the value property. 252 * 253 * @param value 254 * allowed object is 255 * {@link String } 256 * 257 */ 258 public void setValue(String value) { 259 this.value = value; 260 } 261 262 /** 263 * Gets the value of the option property. 264 * 265 * @return 266 * possible object is 267 * {@link String } 268 * 269 */ 270 public String getOption() { 271 return option; 272 } 273 274 /** 275 * Sets the value of the option property. 276 * 277 * @param value 278 * allowed object is 279 * {@link String } 280 * 281 */ 282 public void setOption(String value) { 283 this.option = value; 284 } 285 286 } 287 288 }