//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.07.23 at 10:31:42 PM CEST
//
package eu.prestoprime.model.ext.rights;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.crit.rai.it/prestoprime/rights/rightsindex}RightsInstance" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "rightsInstance" })
@XmlRootElement(name = "RightsIndex")
public class RightsIndex implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(name = "RightsInstance", required = true)
protected List<RightsInstance> rightsInstance;
@XmlAttribute(name = "created")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar created;
@XmlAttribute(name = "modified")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar modified;
/**
* Gets the value of the rightsInstance property.
*
* <p>
* 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
* <CODE>set</CODE> method for the rightsInstance property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRightsInstance().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RightsInstance }
*
*
*/
public List<RightsInstance> getRightsInstance() {
if (rightsInstance == null) {
rightsInstance = new ArrayList<RightsInstance>();
}
return this.rightsInstance;
}
/**
* Gets the value of the created property.
*
* @return possible object is {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is {@link XMLGregorianCalendar }
*
*/
public void setCreated(XMLGregorianCalendar value) {
this.created = value;
}
/**
* Gets the value of the modified property.
*
* @return possible object is {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getModified() {
return modified;
}
/**
* Sets the value of the modified property.
*
* @param value
* allowed object is {@link XMLGregorianCalendar }
*
*/
public void setModified(XMLGregorianCalendar value) {
this.modified = value;
}
}