uk.gov.legislation.namespaces.legislation.Primary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of legislation-gov-uk Show documentation
Show all versions of legislation-gov-uk Show documentation
Java library for consuming the Legislation.gov.uk API
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.08.07 at 06:17:52 PM CEST
//
package uk.gov.legislation.namespaces.legislation;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* 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">
* <choice>
* <sequence>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}PrimaryPrelims" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}Body" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}Appendix" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}Schedules" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}ExplanatoryNotes" minOccurs="0"/>
* </sequence>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}Include" maxOccurs="unbounded"/>
* </choice>
* <attGroup ref="{http://www.legislation.gov.uk/namespaces/legislation}CommonAttributes"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"includes",
"primaryPrelims",
"body",
"appendixes",
"schedules",
"explanatoryNotes"
})
@XmlRootElement(name = "Primary")
public class Primary {
@XmlElement(name = "Include")
protected List includes;
@XmlElement(name = "PrimaryPrelims")
protected PrimaryPrelims primaryPrelims;
@XmlElement(name = "Body")
protected Body body;
@XmlElement(name = "Appendix")
protected List appendixes;
@XmlElement(name = "Schedules")
protected Schedules schedules;
@XmlElement(name = "ExplanatoryNotes")
protected ExplanatoryNotes explanatoryNotes;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String id;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String lang;
@XmlAttribute(name = "space", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String space;
@XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlSchemaType(name = "anyURI")
protected String base;
@XmlAttribute(name = "AltVersionRefs")
@XmlIDREF
@XmlSchemaType(name = "IDREFS")
protected List