// // 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.XmlID; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 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 name="Record" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="RelatedIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="AVname" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Pname" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Pdetails" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <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 = { "record" }) @XmlRootElement(name = "RightsInstance") public class RightsInstance implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Record", required = true) protected List<RightsInstance.Record> record; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "created") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar created; @XmlAttribute(name = "modified") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar modified; /** * Gets the value of the record 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 record property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getRecord().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link RightsInstance.Record } * * */ public List<RightsInstance.Record> getRecord() { if (record == null) { record = new ArrayList<RightsInstance.Record>(); } return this.record; } /** * 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 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; } /** * <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 name="RelatedIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="AVname" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Pname" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Pdetails" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "relatedIdentifier", "aVname", "pname", "pdetails" }) public static class Record implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "RelatedIdentifier", required = true) protected String relatedIdentifier; @XmlElement(name = "AVname", required = true) protected String aVname; @XmlElement(name = "Pname", required = true) protected String pname; @XmlElement(name = "Pdetails", required = true) protected String pdetails; /** * Gets the value of the relatedIdentifier property. * * @return possible object is {@link String } * */ public String getRelatedIdentifier() { return relatedIdentifier; } /** * Sets the value of the relatedIdentifier property. * * @param value * allowed object is {@link String } * */ public void setRelatedIdentifier(String value) { this.relatedIdentifier = value; } /** * Gets the value of the aVname property. * * @return possible object is {@link String } * */ public String getAVname() { return aVname; } /** * Sets the value of the aVname property. * * @param value * allowed object is {@link String } * */ public void setAVname(String value) { this.aVname = value; } /** * Gets the value of the pname property. * * @return possible object is {@link String } * */ public String getPname() { return pname; } /** * Sets the value of the pname property. * * @param value * allowed object is {@link String } * */ public void setPname(String value) { this.pname = value; } /** * Gets the value of the pdetails property. * * @return possible object is {@link String } * */ public String getPdetails() { return pdetails; } /** * Sets the value of the pdetails property. * * @param value * allowed object is {@link String } * */ public void setPdetails(String value) { this.pdetails = value; } } }