uk.gov.legislation.namespaces.metadata.Citations 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 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}Citation" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"citations"
})
@XmlRootElement(name = "Citations")
public class Citations {
@XmlElement(name = "Citation", required = true)
protected List citations;
/**
* Gets the value of the citations 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 citations property.
*
*
* For example, to add a new item, do as follows:
*
* getCitations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Citation }
*
*
*/
public List getCitations() {
if (citations == null) {
citations = new ArrayList<>();
}
return this.citations;
}
}