org.immregistries.codebase.client.generated.Codeset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codebase-client Show documentation
Show all versions of codebase-client Show documentation
Reads the Codebase XML and provides helper classes to use it.
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.10.28 at 12:30:21 PM EDT
//
package org.immregistries.codebase.client.generated;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="code" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="code-status">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="deprecated" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="new-code-value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="reason" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="effective-date" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="reference" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="link-to" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="codeset" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="use-date" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="not-before" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="not-expected-before" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="not-expected-after" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="not-after" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="use-age" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="not-before-month" type="{http://www.w3.org/2001/XMLSchema}byte"/>
* <element name="not-after-month" type="{http://www.w3.org/2001/XMLSchema}byte"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="concept-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="test-age" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"label",
"type",
"code"
})
public class Codeset {
@XmlElement(required = true)
protected String label;
@XmlElement(required = true)
protected String type;
protected List code;
/**
* 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 type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the code property.
*
*
* 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 set
method for the code property.
*
*
* For example, to add a new item, do as follows:
*
* getCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Code }
*
*
*/
public List getCode() {
if (code == null) {
code = new ArrayList();
}
return this.code;
}
}