All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
uk.gov.legislation.namespaces.legislation.P2 Maven / Gradle / Ivy
//
// 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 uk.co.tso.assets.namespace.error.ErrorType;
import javax.xml.bind.JAXBElement;
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">
* <sequence>
* <group ref="{http://www.tso.co.uk/assets/namespace/error}Errors" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}Pnumber"/>
* <choice maxOccurs="unbounded">
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}P2para"/>
* <group ref="{http://www.legislation.gov.uk/namespaces/legislation}BlockSection"/>
* </choice>
* </sequence>
* <attGroup ref="{http://www.legislation.gov.uk/namespaces/legislation}PelementIDattributes"/>
* <attGroup ref="{http://www.legislation.gov.uk/namespaces/legislation}CommonSubAttributes"/>
* <attribute name="FootnoteRef" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"errorsAndWarningsAndPnumbers"
})
@XmlRootElement(name = "P2")
public class P2 {
@XmlElementRefs({
@XmlElementRef(name = "Tabular", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = Tabular.class),
@XmlElementRef(name = "Figure", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = Figure.class),
@XmlElementRef(name = "KeyList", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = KeyList.class),
@XmlElementRef(name = "DecoratedGroup", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = DecoratedGroup.class),
@XmlElementRef(name = "P2para", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = P2Para.class),
@XmlElementRef(name = "Formula", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = Formula.class),
@XmlElementRef(name = "UnorderedList", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = UnorderedList.class),
@XmlElementRef(name = "Error", namespace = "http://www.tso.co.uk/assets/namespace/error", type = JAXBElement.class),
@XmlElementRef(name = "OrderedList", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = OrderedList.class),
@XmlElementRef(name = "Warning", namespace = "http://www.tso.co.uk/assets/namespace/error", type = JAXBElement.class),
@XmlElementRef(name = "Pnumber", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = Pnumber.class),
@XmlElementRef(name = "Form", namespace = "http://www.legislation.gov.uk/namespaces/legislation", type = Form.class)
})
protected List errorsAndWarningsAndPnumbers;
@XmlAttribute(name = "FootnoteRef")
@XmlIDREF
@XmlSchemaType(name = "IDREFS")
protected List footnoteReves;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String id;
@XmlAttribute(name = "shortId")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String shortId;
@XmlAttribute(name = "DocumentURI")
@XmlSchemaType(name = "anyURI")
protected String documentURI;
@XmlAttribute(name = "IdURI")
@XmlSchemaType(name = "anyURI")
protected String idURI;
@XmlAttribute(name = "NotesURI")
@XmlSchemaType(name = "anyURI")
protected String notesURI;
@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 altVersionRefs;
/**
* Gets the value of the errorsAndWarningsAndPnumbers 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 errorsAndWarningsAndPnumbers property.
*
*
* For example, to add a new item, do as follows:
*
* getErrorsAndWarningsAndPnumbers().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Tabular }
* {@link P2Para }
* {@link DecoratedGroup }
* {@link KeyList }
* {@link Figure }
* {@link Formula }
* {@link UnorderedList }
* {@link JAXBElement }{@code <}{@link ErrorType }{@code >}
* {@link JAXBElement }{@code <}{@link ErrorType }{@code >}
* {@link OrderedList }
* {@link Pnumber }
* {@link Form }
*
*
*/
public List getErrorsAndWarningsAndPnumbers() {
if (errorsAndWarningsAndPnumbers == null) {
errorsAndWarningsAndPnumbers = new ArrayList<>();
}
return this.errorsAndWarningsAndPnumbers;
}
/**
* Gets the value of the footnoteReves 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 footnoteReves property.
*
*
* For example, to add a new item, do as follows:
*
* getFootnoteReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getFootnoteReves() {
if (footnoteReves == null) {
footnoteReves = new ArrayList<>();
}
return this.footnoteReves;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the shortId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShortId() {
return shortId;
}
/**
* Sets the value of the shortId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShortId(String value) {
this.shortId = value;
}
/**
* Gets the value of the documentURI property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentURI() {
return documentURI;
}
/**
* Sets the value of the documentURI property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentURI(String value) {
this.documentURI = value;
}
/**
* Gets the value of the idURI property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdURI() {
return idURI;
}
/**
* Sets the value of the idURI property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdURI(String value) {
this.idURI = value;
}
/**
* Gets the value of the notesURI property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNotesURI() {
return notesURI;
}
/**
* Sets the value of the notesURI property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNotesURI(String value) {
this.notesURI = value;
}
/**
* Gets the value of the lang property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLang() {
return lang;
}
/**
* Sets the value of the lang property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLang(String value) {
this.lang = value;
}
/**
* Gets the value of the space property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpace() {
return space;
}
/**
* Sets the value of the space property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpace(String value) {
this.space = value;
}
/**
* Gets the value of the base property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBase() {
return base;
}
/**
* Sets the value of the base property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBase(String value) {
this.base = value;
}
/**
* Gets the value of the altVersionRefs 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 altVersionRefs property.
*
*
* For example, to add a new item, do as follows:
*
* getAltVersionRefs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getAltVersionRefs() {
if (altVersionRefs == null) {
altVersionRefs = new ArrayList<>();
}
return this.altVersionRefs;
}
}