uk.gov.legislation.namespaces.metadata.SupersededBy Maven / Gradle / Ivy
Show all versions of legislation-gov-uk Show documentation
//
// 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 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>
* <element ref="{http://purl.org/dc/elements/1.1/}title"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}DocumentMainType"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Year"/>
* <choice>
* <sequence>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Number"/>
* <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"/>
* </sequence>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}ISBN"/>
* </choice>
* </sequence>
* <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"title",
"documentMainType",
"year",
"number",
"isbn",
"alternativeNumbers"
})
@XmlRootElement(name = "SupersededBy")
public class SupersededBy {
@XmlElementRef(name = "title", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class)
protected JAXBElement title;
@XmlElement(name = "DocumentMainType", required = true)
protected DocumentMainType documentMainType;
@XmlElement(name = "Year", required = true)
protected Year year;
@XmlElement(name = "Number")
protected Number number;
@XmlElement(name = "ISBN")
protected ISBN isbn;
@XmlElement(name = "AlternativeNumber")
protected List alternativeNumbers;
@XmlAttribute(name = "URI", required = true)
@XmlSchemaType(name = "anyURI")
protected String uri;
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link AbstractAny }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractAny }{@code >}
*
*/
public JAXBElement getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link AbstractAny }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractAny }{@code >}
*
*/
public void setTitle(JAXBElement value) {
this.title = value;
}
/**
* Gets the value of the documentMainType property.
*
* @return
* possible object is
* {@link DocumentMainType }
*
*/
public DocumentMainType getDocumentMainType() {
return documentMainType;
}
/**
* Sets the value of the documentMainType property.
*
* @param value
* allowed object is
* {@link DocumentMainType }
*
*/
public void setDocumentMainType(DocumentMainType value) {
this.documentMainType = value;
}
/**
* Gets the value of the year property.
*
* @return
* possible object is
* {@link Year }
*
*/
public Year getYear() {
return year;
}
/**
* Sets the value of the year property.
*
* @param value
* allowed object is
* {@link Year }
*
*/
public void setYear(Year value) {
this.year = value;
}
/**
* Gets the value of the number property.
*
* @return
* possible object is
* {@link Number }
*
*/
public Number getNumber() {
return number;
}
/**
* Sets the value of the number property.
*
* @param value
* allowed object is
* {@link Number }
*
*/
public void setNumber(Number value) {
this.number = value;
}
/**
* Gets the value of the isbn property.
*
* @return
* possible object is
* {@link ISBN }
*
*/
public ISBN getISBN() {
return isbn;
}
/**
* Sets the value of the isbn property.
*
* @param value
* allowed object is
* {@link ISBN }
*
*/
public void setISBN(ISBN value) {
this.isbn = value;
}
/**
* Gets the value of the alternativeNumbers 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 alternativeNumbers property.
*
*
* For example, to add a new item, do as follows:
*
* getAlternativeNumbers().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AlternativeNumber }
*
*
*/
public List getAlternativeNumbers() {
if (alternativeNumbers == null) {
alternativeNumbers = new ArrayList<>();
}
return this.alternativeNumbers;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getURI() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setURI(String value) {
this.uri = value;
}
}