All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.gov.legislation.namespaces.metadata.Metadata Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show 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.metadata;

import org.purl.dc.elements._1.AbstractAny;
import org.w3._2005.atom.Link;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.*;
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">
 *       <sequence>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{http://purl.org/dc/elements/1.1/}title"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}creator"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}subject"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}description"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}publisher"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}contributor"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}date"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}type"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}format"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}identifier"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}source"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}language"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}relation"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}coverage"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}rights"/>
 *           <element ref="{http://purl.org/dc/elements/1.1/}modified"/>
 *           <element ref="{http://www.w3.org/2005/Atom}link"/>
 *         </choice>
 *         <group ref="{http://www.legislation.gov.uk/namespaces/metadata}TSOmetadata"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "titlesAndCreatorsAndSubjects", "secondaryMetadata", "primaryMetadata", "supersededBy", "supersedes", "confersPowers", "blanketAmendments", "notesAndAlternativesAndCorrectionSlips", "statistics" }) @XmlRootElement(name = "Metadata") public class Metadata { @XmlElementRefs({ @XmlElementRef(name = "title", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "source", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "rights", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "coverage", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "contributor", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "publisher", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "language", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "relation", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "link", namespace = "http://www.w3.org/2005/Atom", type = Link.class, required = false), @XmlElementRef(name = "creator", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "date", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "modified", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "identifier", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "format", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "type", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "description", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false), @XmlElementRef(name = "subject", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class, required = false) }) protected List titlesAndCreatorsAndSubjects; @XmlElement(name = "SecondaryMetadata") protected SecondaryMetadata secondaryMetadata; @XmlElement(name = "PrimaryMetadata") protected PrimaryMetadata primaryMetadata; @XmlElement(name = "SupersededBy") protected SupersededBy supersededBy; @XmlElement(name = "Supersedes") protected Supersedes supersedes; @XmlElement(name = "ConfersPower") protected List confersPowers; @XmlElement(name = "BlanketAmendment") protected List blanketAmendments; @XmlElements({ @XmlElement(name = "Notes", type = Notes.class), @XmlElement(name = "Alternatives", type = Alternatives.class), @XmlElement(name = "CorrectionSlips", type = CorrectionSlips.class), @XmlElement(name = "CodesOfPractice", type = CodesOfPractice.class), @XmlElement(name = "TablesOfOrigins", type = TablesOfOrigins.class), @XmlElement(name = "TablesOfDestinations", type = TablesOfDestinations.class), @XmlElement(name = "OrdersInCouncil", type = OrdersInCouncil.class), @XmlElement(name = "ImpactAssessments", type = ImpactAssessments.class) }) protected List notesAndAlternativesAndCorrectionSlips; @XmlElement(name = "Statistics") protected Statistics statistics; /** * Gets the value of the titlesAndCreatorsAndSubjects 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 titlesAndCreatorsAndSubjects property. * *

* For example, to add a new item, do as follows: *

     *    getTitlesAndCreatorsAndSubjects().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link Link } * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * {@link JAXBElement }{@code <}{@link AbstractAny }{@code >} * * */ public List getTitlesAndCreatorsAndSubjects() { if (titlesAndCreatorsAndSubjects == null) { titlesAndCreatorsAndSubjects = new ArrayList<>(); } return this.titlesAndCreatorsAndSubjects; } /** * Gets the value of the secondaryMetadata property. * * @return * possible object is * {@link SecondaryMetadata } * */ public SecondaryMetadata getSecondaryMetadata() { return secondaryMetadata; } /** * Sets the value of the secondaryMetadata property. * * @param value * allowed object is * {@link SecondaryMetadata } * */ public void setSecondaryMetadata(SecondaryMetadata value) { this.secondaryMetadata = value; } /** * Gets the value of the primaryMetadata property. * * @return * possible object is * {@link PrimaryMetadata } * */ public PrimaryMetadata getPrimaryMetadata() { return primaryMetadata; } /** * Sets the value of the primaryMetadata property. * * @param value * allowed object is * {@link PrimaryMetadata } * */ public void setPrimaryMetadata(PrimaryMetadata value) { this.primaryMetadata = value; } /** * Gets the value of the supersededBy property. * * @return * possible object is * {@link SupersededBy } * */ public SupersededBy getSupersededBy() { return supersededBy; } /** * Sets the value of the supersededBy property. * * @param value * allowed object is * {@link SupersededBy } * */ public void setSupersededBy(SupersededBy value) { this.supersededBy = value; } /** * Gets the value of the supersedes property. * * @return * possible object is * {@link Supersedes } * */ public Supersedes getSupersedes() { return supersedes; } /** * Sets the value of the supersedes property. * * @param value * allowed object is * {@link Supersedes } * */ public void setSupersedes(Supersedes value) { this.supersedes = value; } /** * Gets the value of the confersPowers 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 confersPowers property. * *

* For example, to add a new item, do as follows: *

     *    getConfersPowers().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ConfersPower } * * */ public List getConfersPowers() { if (confersPowers == null) { confersPowers = new ArrayList<>(); } return this.confersPowers; } /** * Gets the value of the blanketAmendments 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 blanketAmendments property. * *

* For example, to add a new item, do as follows: *

     *    getBlanketAmendments().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link BlanketAmendment } * * */ public List getBlanketAmendments() { if (blanketAmendments == null) { blanketAmendments = new ArrayList<>(); } return this.blanketAmendments; } /** * Gets the value of the notesAndAlternativesAndCorrectionSlips 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 notesAndAlternativesAndCorrectionSlips property. * *

* For example, to add a new item, do as follows: *

     *    getNotesAndAlternativesAndCorrectionSlips().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Notes } * {@link Alternatives } * {@link CorrectionSlips } * {@link CodesOfPractice } * {@link TablesOfOrigins } * {@link TablesOfDestinations } * {@link OrdersInCouncil } * {@link ImpactAssessments } * * */ public List getNotesAndAlternativesAndCorrectionSlips() { if (notesAndAlternativesAndCorrectionSlips == null) { notesAndAlternativesAndCorrectionSlips = new ArrayList<>(); } return this.notesAndAlternativesAndCorrectionSlips; } /** * Gets the value of the statistics property. * * @return * possible object is * {@link Statistics } * */ public Statistics getStatistics() { return statistics; } /** * Sets the value of the statistics property. * * @param value * allowed object is * {@link Statistics } * */ public void setStatistics(Statistics value) { this.statistics = value; } }