// // 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.bind.annotation.XmlValue; /** * <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"> * <choice> * <sequence> * <element name="Success" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="Row" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="eeIdentifier" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="rightsgraph" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="icon" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <element name="Failure" type="{http://www.w3.org/2001/XMLSchema}string"/> * </choice> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "success", "row", "failure" }) @XmlRootElement(name = "Results", namespace = "http://www.prestoprime.eu/xsd/rightsquery") public class Results implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Success", namespace = "http://www.prestoprime.eu/xsd/rightsquery") protected Boolean success; @XmlElement(name = "Row", namespace = "http://www.prestoprime.eu/xsd/rightsquery") protected List<Results.Row> row; @XmlElement(name = "Failure", namespace = "http://www.prestoprime.eu/xsd/rightsquery") protected String failure; /** * Gets the value of the success property. * * @return possible object is {@link Boolean } * */ public Boolean isSuccess() { return success; } /** * Sets the value of the success property. * * @param value * allowed object is {@link Boolean } * */ public void setSuccess(Boolean value) { this.success = value; } /** * Gets the value of the row 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 row property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getRow().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Results.Row } * * */ public List<Results.Row> getRow() { if (row == null) { row = new ArrayList<Results.Row>(); } return this.row; } /** * Gets the value of the failure property. * * @return possible object is {@link String } * */ public String getFailure() { return failure; } /** * Sets the value of the failure property. * * @param value * allowed object is {@link String } * */ public void setFailure(String value) { this.failure = 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"> * <attribute name="eeIdentifier" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="rightsgraph" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="icon" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) public static class Row implements Serializable { private final static long serialVersionUID = 1L; @XmlValue protected String content; @XmlAttribute(name = "eeIdentifier", required = true) @XmlSchemaType(name = "anyURI") protected String eeIdentifier; @XmlAttribute(name = "rightsgraph") @XmlSchemaType(name = "anyURI") protected String rightsgraph; @XmlAttribute(name = "icon") @XmlSchemaType(name = "anyURI") protected String icon; /** * Gets the value of the content property. * * @return possible object is {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is {@link String } * */ public void setContent(String value) { this.content = value; } /** * Gets the value of the eeIdentifier property. * * @return possible object is {@link String } * */ public String getEeIdentifier() { return eeIdentifier; } /** * Sets the value of the eeIdentifier property. * * @param value * allowed object is {@link String } * */ public void setEeIdentifier(String value) { this.eeIdentifier = value; } /** * Gets the value of the rightsgraph property. * * @return possible object is {@link String } * */ public String getRightsgraph() { return rightsgraph; } /** * Sets the value of the rightsgraph property. * * @param value * allowed object is {@link String } * */ public void setRightsgraph(String value) { this.rightsgraph = value; } /** * Gets the value of the icon property. * * @return possible object is {@link String } * */ public String getIcon() { return icon; } /** * Sets the value of the icon property. * * @param value * allowed object is {@link String } * */ public void setIcon(String value) { this.icon = value; } } }