//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.10.25 at 12:13:33 AM EDT
//
package gov.nih.ncgc.bard.capextract.jaxb;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{}label"/>
* <element ref="{}description" minOccurs="0"/>
* <element name="synonyms" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="externalUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* <element name="ontologies" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ontology" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="abbreviation" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="sourceUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{}link" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="elementId" use="required" type="{}bardID" />
* <attribute name="elementStatus">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Pending"/>
* <enumeration value="Published"/>
* <enumeration value="Deprecated"/>
* <enumeration value="Retired"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="abbreviation" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute ref="{}readyForExtraction use="required""/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"label",
"description",
"synonyms",
"externalUrl",
"ontologies",
"link"
})
@XmlRootElement(name = "element")
public class Element {
@XmlElement(required = true)
protected String label;
@XmlElement(nillable = true)
protected String description;
protected String synonyms;
@XmlSchemaType(name = "anyURI")
protected String externalUrl;
protected Element.Ontologies ontologies;
@XmlElement(required = true)
protected List<Link> link;
@XmlAttribute(required = true)
protected BigInteger elementId;
@XmlAttribute
protected String elementStatus;
@XmlAttribute
protected String abbreviation;
@XmlAttribute(required = true)
protected String readyForExtraction;
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the synonyms property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSynonyms() {
return synonyms;
}
/**
* Sets the value of the synonyms property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSynonyms(String value) {
this.synonyms = value;
}
/**
* Gets the value of the externalUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExternalUrl() {
return externalUrl;
}
/**
* Sets the value of the externalUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExternalUrl(String value) {
this.externalUrl = value;
}
/**
* Gets the value of the ontologies property.
*
* @return
* possible object is
* {@link Element.Ontologies }
*
*/
public Element.Ontologies getOntologies() {
return ontologies;
}
/**
* Sets the value of the ontologies property.
*
* @param value
* allowed object is
* {@link Element.Ontologies }
*
*/
public void setOntologies(Element.Ontologies value) {
this.ontologies = value;
}
/**
* Gets the value of the link property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the link property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getLink().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Link }
*
*
*/
public List<Link> getLink() {
if (link == null) {
link = new ArrayList<Link>();
}
return this.link;
}
/**
* Gets the value of the elementId property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getElementId() {
return elementId;
}
/**
* Sets the value of the elementId property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setElementId(BigInteger value) {
this.elementId = value;
}
/**
* Gets the value of the elementStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getElementStatus() {
return elementStatus;
}
/**
* Sets the value of the elementStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setElementStatus(String value) {
this.elementStatus = value;
}
/**
* Gets the value of the abbreviation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAbbreviation() {
return abbreviation;
}
/**
* Sets the value of the abbreviation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAbbreviation(String value) {
this.abbreviation = value;
}
/**
* Gets the value of the readyForExtraction property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReadyForExtraction() {
return readyForExtraction;
}
/**
* Sets the value of the readyForExtraction property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReadyForExtraction(String value) {
this.readyForExtraction = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ontology" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="abbreviation" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="sourceUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ontology"
})
public static class Ontologies {
@XmlElement(required = true)
protected List<Element.Ontologies.Ontology> ontology;
/**
* Gets the value of the ontology property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the ontology property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getOntology().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element.Ontologies.Ontology }
*
*
*/
public List<Element.Ontologies.Ontology> getOntology() {
if (ontology == null) {
ontology = new ArrayList<Element.Ontologies.Ontology>();
}
return this.ontology;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="abbreviation" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="sourceUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Ontology {
@XmlAttribute(required = true)
protected String name;
@XmlAttribute
protected String abbreviation;
@XmlAttribute
protected String sourceUrl;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the abbreviation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAbbreviation() {
return abbreviation;
}
/**
* Sets the value of the abbreviation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAbbreviation(String value) {
this.abbreviation = value;
}
/**
* Gets the value of the sourceUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceUrl() {
return sourceUrl;
}
/**
* Sets the value of the sourceUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceUrl(String value) {
this.sourceUrl = value;
}
}
}
}