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

uk.gov.legislation.namespaces.metadata.SectionRange 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 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>
 *         <element ref="{http://www.legislation.gov.uk/namespaces/metadata}Section" maxOccurs="2" minOccurs="2"/>
 *       </sequence>
 *       <attribute name="Start" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       <attribute name="End" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *       <attribute name="UpTo" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *       <attribute name="FoundStart" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       <attribute name="FoundEnd" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       <attribute name="MissingStart" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="MissingEnd" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="Missing" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "SectionRange") public class SectionRange { @XmlElementRef(name = "Section", namespace = "http://www.legislation.gov.uk/namespaces/metadata", type = Section.class) @XmlMixed protected List content; @XmlAttribute(name = "Start", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String start; @XmlAttribute(name = "End", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String end; @XmlAttribute(name = "URI", required = true) @XmlSchemaType(name = "anyURI") protected String uri; @XmlAttribute(name = "UpTo", required = true) @XmlSchemaType(name = "anyURI") protected String upTo; @XmlAttribute(name = "FoundStart") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String foundStart; @XmlAttribute(name = "FoundEnd") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String foundEnd; @XmlAttribute(name = "MissingStart") protected Boolean missingStart; @XmlAttribute(name = "MissingEnd") protected Boolean missingEnd; @XmlAttribute(name = "Missing") protected Boolean missing; /** * Gets the value of the content 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 content property. * *

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

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * {@link Section } * * */ public List getContent() { if (content == null) { content = new ArrayList<>(); } return this.content; } /** * Gets the value of the start property. * * @return * possible object is * {@link String } * */ public String getStart() { return start; } /** * Sets the value of the start property. * * @param value * allowed object is * {@link String } * */ public void setStart(String value) { this.start = value; } /** * Gets the value of the end property. * * @return * possible object is * {@link String } * */ public String getEnd() { return end; } /** * Sets the value of the end property. * * @param value * allowed object is * {@link String } * */ public void setEnd(String value) { this.end = value; } /** * 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; } /** * Gets the value of the upTo property. * * @return * possible object is * {@link String } * */ public String getUpTo() { return upTo; } /** * Sets the value of the upTo property. * * @param value * allowed object is * {@link String } * */ public void setUpTo(String value) { this.upTo = value; } /** * Gets the value of the foundStart property. * * @return * possible object is * {@link String } * */ public String getFoundStart() { return foundStart; } /** * Sets the value of the foundStart property. * * @param value * allowed object is * {@link String } * */ public void setFoundStart(String value) { this.foundStart = value; } /** * Gets the value of the foundEnd property. * * @return * possible object is * {@link String } * */ public String getFoundEnd() { return foundEnd; } /** * Sets the value of the foundEnd property. * * @param value * allowed object is * {@link String } * */ public void setFoundEnd(String value) { this.foundEnd = value; } /** * Gets the value of the missingStart property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMissingStart() { return missingStart; } /** * Sets the value of the missingStart property. * * @param value * allowed object is * {@link Boolean } * */ public void setMissingStart(Boolean value) { this.missingStart = value; } /** * Gets the value of the missingEnd property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMissingEnd() { return missingEnd; } /** * Sets the value of the missingEnd property. * * @param value * allowed object is * {@link Boolean } * */ public void setMissingEnd(Boolean value) { this.missingEnd = value; } /** * Gets the value of the missing property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMissing() { return missing; } /** * Sets the value of the missing property. * * @param value * allowed object is * {@link Boolean } * */ public void setMissing(Boolean value) { this.missing = value; } }