uk.gov.legislation.namespaces.metadata.SecondaryMetadata 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
//
// 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 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>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}DocumentClassification"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Year"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Number" minOccurs="0"/>
* <choice maxOccurs="unbounded">
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}ISBN" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}AlternativeNumber" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}DepartmentCode" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Made" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Laid" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}ComingIntoForce" minOccurs="0"/>
* <choice>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Resolution" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}RoyalPresence" minOccurs="0"/>
* </choice>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}UnappliedEffects" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Citations" minOccurs="0"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentClassification",
"year",
"number",
"isbnsAndAlternativeNumbersAndDepartmentCodes"
})
@XmlRootElement(name = "SecondaryMetadata")
public class SecondaryMetadata {
@XmlElement(name = "DocumentClassification", required = true)
protected DocumentClassification documentClassification;
@XmlElement(name = "Year", required = true)
protected Year year;
@XmlElement(name = "Number")
protected Number number;
@XmlElements({
@XmlElement(name = "ISBN", type = ISBN.class),
@XmlElement(name = "AlternativeNumber", type = AlternativeNumber.class),
@XmlElement(name = "DepartmentCode", type = DepartmentCode.class),
@XmlElement(name = "Made", type = Made.class),
@XmlElement(name = "Laid", type = Laid.class),
@XmlElement(name = "ComingIntoForce", type = ComingIntoForce.class),
@XmlElement(name = "Resolution", type = Resolution.class),
@XmlElement(name = "RoyalPresence", type = RoyalPresence.class),
@XmlElement(name = "UnappliedEffects", type = UnappliedEffects.class),
@XmlElement(name = "Citations", type = Citations.class)
})
protected List