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

uk.gov.legislation.namespaces.metadata.Citation Maven / Gradle / Ivy

The 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 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}Commentary" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *       <attribute name="Title" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "commentaries" }) @XmlRootElement(name = "Citation") public class Citation { @XmlElement(name = "Commentary", required = true) protected List commentaries; @XmlAttribute(name = "URI", required = true) @XmlSchemaType(name = "anyURI") protected String uri; @XmlAttribute(name = "Title", required = true) @XmlSchemaType(name = "anySimpleType") protected String title; /** * Gets the value of the commentaries 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 commentaries property. * *

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

     *    getCommentaries().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Commentary } * * */ public List getCommentaries() { if (commentaries == null) { commentaries = new ArrayList<>(); } return this.commentaries; } /** * 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 title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy