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.math.BigDecimal; 012 import java.math.BigInteger; 013 import java.util.ArrayList; 014 import java.util.List; 015 import javax.xml.bind.JAXBElement; 016 import javax.xml.bind.annotation.XmlAccessType; 017 import javax.xml.bind.annotation.XmlAccessorType; 018 import javax.xml.bind.annotation.XmlAttribute; 019 import javax.xml.bind.annotation.XmlElementRef; 020 import javax.xml.bind.annotation.XmlElementRefs; 021 import javax.xml.bind.annotation.XmlRootElement; 022 import javax.xml.bind.annotation.XmlType; 023 024 025 /** 026 * <p>Java class for anonymous complex type. 027 * 028 * <p>The following schema fragment specifies the expected content contained within this class. 029 * 030 * <pre> 031 * <complexType> 032 * <complexContent> 033 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 034 * <choice maxOccurs="unbounded" minOccurs="0"> 035 * <element name="INFO" type="{http://www.w3.org/2001/XMLSchema}string"/> 036 * <element name="ERROR" type="{http://www.w3.org/2001/XMLSchema}string"/> 037 * <element name="otype" type="{http://www.w3.org/2001/XMLSchema}token"/> 038 * <element name="jpos" type="{}sexapos"/> 039 * <element name="jradeg" type="{}lon"/> 040 * <element name="jdedeg" type="{}lat"/> 041 * <element name="refPos" type="{}bibcode"/> 042 * <element name="errRAmas" type="{}err"/> 043 * <element name="errDEmas" type="{}err"/> 044 * <element name="pm" type="{}pmVector"/> 045 * <element name="MType" type="{http://www.w3.org/2001/XMLSchema}token"/> 046 * <element name="spType" type="{http://www.w3.org/2001/XMLSchema}token"/> 047 * <element name="spNum" type="{http://www.w3.org/2001/XMLSchema}token"/> 048 * <element name="Vel" type="{}veqr"/> 049 * <element name="z" type="{}veqr"/> 050 * <element name="mag" type="{}veqr"/> 051 * <element name="oname" type="{http://www.w3.org/2001/XMLSchema}string"/> 052 * <element name="alias" type="{http://www.w3.org/2001/XMLSchema}string"/> 053 * <element name="nrefs" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> 054 * </choice> 055 * <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}string" /> 056 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 057 * </restriction> 058 * </complexContent> 059 * </complexType> 060 * </pre> 061 * 062 * 063 */ 064 @XmlAccessorType(XmlAccessType.FIELD) 065 @XmlType(name = "", propOrder = { 066 "infoOrERROROrOtype" 067 }) 068 @XmlRootElement(name = "Resolver") 069 public class Resolver { 070 071 @XmlElementRefs({ 072 @XmlElementRef(name = "pm", type = JAXBElement.class), 073 @XmlElementRef(name = "ERROR", type = JAXBElement.class), 074 @XmlElementRef(name = "jpos", type = JAXBElement.class), 075 @XmlElementRef(name = "spNum", type = JAXBElement.class), 076 @XmlElementRef(name = "refPos", type = JAXBElement.class), 077 @XmlElementRef(name = "Vel", type = JAXBElement.class), 078 @XmlElementRef(name = "MType", type = JAXBElement.class), 079 @XmlElementRef(name = "jdedeg", type = JAXBElement.class), 080 @XmlElementRef(name = "spType", type = JAXBElement.class), 081 @XmlElementRef(name = "errRAmas", type = JAXBElement.class), 082 @XmlElementRef(name = "nrefs", type = JAXBElement.class), 083 @XmlElementRef(name = "INFO", type = JAXBElement.class), 084 @XmlElementRef(name = "mag", type = JAXBElement.class), 085 @XmlElementRef(name = "alias", type = JAXBElement.class), 086 @XmlElementRef(name = "errDEmas", type = JAXBElement.class), 087 @XmlElementRef(name = "otype", type = JAXBElement.class), 088 @XmlElementRef(name = "oname", type = JAXBElement.class), 089 @XmlElementRef(name = "z", type = JAXBElement.class), 090 @XmlElementRef(name = "jradeg", type = JAXBElement.class) 091 }) 092 protected List<JAXBElement<?>> infoOrERROROrOtype; 093 @XmlAttribute 094 protected String code; 095 @XmlAttribute(required = true) 096 protected String name; 097 098 /** 099 * Gets the value of the infoOrERROROrOtype 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 infoOrERROROrOtype property. 106 * 107 * <p> 108 * For example, to add a new item, do as follows: 109 * <pre> 110 * getINFOOrERROROrOtype().add(newItem); 111 * </pre> 112 * 113 * 114 * <p> 115 * Objects of the following type(s) are allowed in the list 116 * {@link JAXBElement }{@code <}{@link String }{@code >} 117 * {@link JAXBElement }{@code <}{@link PmVector }{@code >} 118 * {@link JAXBElement }{@code <}{@link String }{@code >} 119 * {@link JAXBElement }{@code <}{@link String }{@code >} 120 * {@link JAXBElement }{@code <}{@link String }{@code >} 121 * {@link JAXBElement }{@code <}{@link String }{@code >} 122 * {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} 123 * {@link JAXBElement }{@code <}{@link String }{@code >} 124 * {@link JAXBElement }{@code <}{@link Veqr }{@code >} 125 * {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} 126 * {@link JAXBElement }{@code <}{@link String }{@code >} 127 * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} 128 * {@link JAXBElement }{@code <}{@link Veqr }{@code >} 129 * {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} 130 * {@link JAXBElement }{@code <}{@link String }{@code >} 131 * {@link JAXBElement }{@code <}{@link String }{@code >} 132 * {@link JAXBElement }{@code <}{@link Veqr }{@code >} 133 * {@link JAXBElement }{@code <}{@link String }{@code >} 134 * {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} 135 * 136 * 137 */ 138 public List<JAXBElement<?>> getINFOOrERROROrOtype() { 139 if (infoOrERROROrOtype == null) { 140 infoOrERROROrOtype = new ArrayList<JAXBElement<?>>(); 141 } 142 return this.infoOrERROROrOtype; 143 } 144 145 /** 146 * Gets the value of the code property. 147 * 148 * @return 149 * possible object is 150 * {@link String } 151 * 152 */ 153 public String getCode() { 154 return code; 155 } 156 157 /** 158 * Sets the value of the code property. 159 * 160 * @param value 161 * allowed object is 162 * {@link String } 163 * 164 */ 165 public void setCode(String value) { 166 this.code = value; 167 } 168 169 /** 170 * Gets the value of the name property. 171 * 172 * @return 173 * possible object is 174 * {@link String } 175 * 176 */ 177 public String getName() { 178 return name; 179 } 180 181 /** 182 * Sets the value of the name property. 183 * 184 * @param value 185 * allowed object is 186 * {@link String } 187 * 188 */ 189 public void setName(String value) { 190 this.name = value; 191 } 192 193 }