org.daisy.pipeline.webservice.jaxb.job.Result Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.01.03 at 12:32:07 PM CET
//
package org.daisy.pipeline.webservice.jaxb.job;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* 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.daisy.org/ns/pipeline/data}result" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="mime-type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="nicename" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"result"
})
@XmlRootElement(name = "result")
public class Result {
protected List result;
@XmlAttribute(name = "href", required = true)
@XmlSchemaType(name = "anyURI")
protected String href;
@XmlAttribute(name = "mime-type")
@XmlSchemaType(name = "anySimpleType")
protected String mimeType;
@XmlAttribute(name = "file")
@XmlSchemaType(name = "anySimpleType")
protected String file;
@XmlAttribute(name = "size")
protected Long size;
@XmlAttribute(name = "from")
@XmlSchemaType(name = "anySimpleType")
protected String from;
@XmlAttribute(name = "name")
@XmlSchemaType(name = "anySimpleType")
protected String name;
@XmlAttribute(name = "nicename")
@XmlSchemaType(name = "anySimpleType")
protected String nicename;
/**
* Gets the value of the result 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 result property.
*
*
* For example, to add a new item, do as follows:
*
* getResult().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Result }
*
*
*/
public List getResult() {
if (result == null) {
result = new ArrayList();
}
return this.result;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = value;
}
/**
* Gets the value of the mimeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMimeType() {
return mimeType;
}
/**
* Sets the value of the mimeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMimeType(String value) {
this.mimeType = value;
}
/**
* Gets the value of the file property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFile() {
return file;
}
/**
* Sets the value of the file property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFile(String value) {
this.file = value;
}
/**
* Gets the value of the size property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getSize() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setSize(Long value) {
this.size = value;
}
/**
* Gets the value of the from property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrom() {
return from;
}
/**
* Sets the value of the from property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFrom(String value) {
this.from = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the nicename property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNicename() {
return nicename;
}
/**
* Sets the value of the nicename property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNicename(String value) {
this.nicename = value;
}
}