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

org.daisy.pipeline.webservice.jaxb.job.Messages 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: 2019.02.28 at 03:19:32 PM CET 
//


package org.daisy.pipeline.webservice.jaxb.job;

import java.math.BigDecimal;
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;


/**
 * 

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">
 *       <choice maxOccurs="unbounded" minOccurs="0">
 *         <group ref="{http://www.daisy.org/ns/pipeline/data}progressMessage"/>
 *         <group ref="{http://www.daisy.org/ns/pipeline/data}message"/>
 *       </choice>
 *       <attribute name="progress" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
 *       <attribute name="msgSeq" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "messageOrMessage" }) @XmlRootElement(name = "messages") public class Messages { @XmlElement(name = "message") protected List messageOrMessage; @XmlAttribute(name = "progress", required = true) protected BigDecimal progress; @XmlAttribute(name = "msgSeq") protected Integer msgSeq; /** * Gets the value of the messageOrMessage 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 messageOrMessage property. * *

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

     *    getMessageOrMessage().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Messages.Message } * * */ public List getMessageOrMessage() { if (messageOrMessage == null) { messageOrMessage = new ArrayList(); } return this.messageOrMessage; } /** * Gets the value of the progress property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getProgress() { return progress; } /** * Sets the value of the progress property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setProgress(BigDecimal value) { this.progress = value; } /** * Gets the value of the msgSeq property. * * @return * possible object is * {@link Integer } * */ public Integer getMsgSeq() { return msgSeq; } /** * Sets the value of the msgSeq property. * * @param value * allowed object is * {@link Integer } * */ public void setMsgSeq(Integer value) { this.msgSeq = value; } /** *

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">
     *       <choice maxOccurs="unbounded" minOccurs="0">
     *         <group ref="{http://www.daisy.org/ns/pipeline/data}progressMessage"/>
     *         <group ref="{http://www.daisy.org/ns/pipeline/data}message"/>
     *       </choice>
     *       <attGroup ref="{http://www.daisy.org/ns/pipeline/data}messageAttrs"/>
     *       <attribute name="portion" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
     *       <attribute name="progress" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "messageOrMessage" }) public static class Message { @XmlElement(name = "message") protected List messageOrMessage; @XmlAttribute(name = "portion", required = true) protected BigDecimal portion; @XmlAttribute(name = "progress", required = true) protected BigDecimal progress; @XmlAttribute(name = "sequence", required = true) protected int sequence; @XmlAttribute(name = "level", required = true) protected MessageLevel level; @XmlAttribute(name = "content", required = true) @XmlSchemaType(name = "anySimpleType") protected String content; @XmlAttribute(name = "timeStamp", required = true) protected long timeStamp; /** * Gets the value of the messageOrMessage 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 messageOrMessage property. * *

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

         *    getMessageOrMessage().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Messages.Message } * * */ public List getMessageOrMessage() { if (messageOrMessage == null) { messageOrMessage = new ArrayList(); } return this.messageOrMessage; } /** * Gets the value of the portion property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getPortion() { return portion; } /** * Sets the value of the portion property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setPortion(BigDecimal value) { this.portion = value; } /** * Gets the value of the progress property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getProgress() { return progress; } /** * Sets the value of the progress property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setProgress(BigDecimal value) { this.progress = value; } /** * Gets the value of the sequence property. * */ public int getSequence() { return sequence; } /** * Sets the value of the sequence property. * */ public void setSequence(int value) { this.sequence = value; } /** * Gets the value of the level property. * * @return * possible object is * {@link MessageLevel } * */ public MessageLevel getLevel() { return level; } /** * Sets the value of the level property. * * @param value * allowed object is * {@link MessageLevel } * */ public void setLevel(MessageLevel value) { this.level = value; } /** * 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 timeStamp property. * */ public long getTimeStamp() { return timeStamp; } /** * Sets the value of the timeStamp property. * */ public void setTimeStamp(long value) { this.timeStamp = value; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy