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

eu.fispace.api.pgs.ReceivePgsNotificationRequest Maven / Gradle / Ivy

There is a newer version: 0.17.5
Show newest version
//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.7 
// Visite http://java.sun.com/xml/jaxb 
// Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de origen. 
// Generado el: 2016.04.10 a las 11:14:13 AM CEST 
//


package eu.fispace.api.pgs;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import eu.limetri.ygg.api.RequestMessage;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;


/**
 * 
 * Message trace: Pgs Dashboard app --> FIspace  --> User Dashboard app.
 * 				
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "baseNotificationInfo",
    "lastNotification",
    "procedureRegister",
    "attachedDoc"
})
@XmlRootElement(name = "ReceivePgsNotificationRequest")
public class ReceivePgsNotificationRequest
    extends RequestMessage
    implements Serializable, ToString
{

    @XmlElement(required = true)
    protected BaseNotificationType baseNotificationInfo;
    @XmlElement(required = true)
    protected LastNotificationType lastNotification;
    @XmlElement(required = true)
    protected ProcedureRegisterType procedureRegister;
    protected List attachedDoc;

    /**
     * Obtiene el valor de la propiedad baseNotificationInfo.
     * 
     * @return
     *     possible object is
     *     {@link BaseNotificationType }
     *     
     */
    public BaseNotificationType getBaseNotificationInfo() {
        return baseNotificationInfo;
    }

    /**
     * Define el valor de la propiedad baseNotificationInfo.
     * 
     * @param value
     *     allowed object is
     *     {@link BaseNotificationType }
     *     
     */
    public void setBaseNotificationInfo(BaseNotificationType value) {
        this.baseNotificationInfo = value;
    }

    public boolean isSetBaseNotificationInfo() {
        return (this.baseNotificationInfo!= null);
    }

    /**
     * Obtiene el valor de la propiedad lastNotification.
     * 
     * @return
     *     possible object is
     *     {@link LastNotificationType }
     *     
     */
    public LastNotificationType getLastNotification() {
        return lastNotification;
    }

    /**
     * Define el valor de la propiedad lastNotification.
     * 
     * @param value
     *     allowed object is
     *     {@link LastNotificationType }
     *     
     */
    public void setLastNotification(LastNotificationType value) {
        this.lastNotification = value;
    }

    public boolean isSetLastNotification() {
        return (this.lastNotification!= null);
    }

    /**
     * Obtiene el valor de la propiedad procedureRegister.
     * 
     * @return
     *     possible object is
     *     {@link ProcedureRegisterType }
     *     
     */
    public ProcedureRegisterType getProcedureRegister() {
        return procedureRegister;
    }

    /**
     * Define el valor de la propiedad procedureRegister.
     * 
     * @param value
     *     allowed object is
     *     {@link ProcedureRegisterType }
     *     
     */
    public void setProcedureRegister(ProcedureRegisterType value) {
        this.procedureRegister = value;
    }

    public boolean isSetProcedureRegister() {
        return (this.procedureRegister!= null);
    }

    /**
     * Gets the value of the attachedDoc 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 attachedDoc property. * *

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

     *    getAttachedDoc().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DocType } * * */ public List getAttachedDoc() { if (attachedDoc == null) { attachedDoc = new ArrayList(); } return this.attachedDoc; } public boolean isSetAttachedDoc() { return ((this.attachedDoc!= null)&&(!this.attachedDoc.isEmpty())); } public void unsetAttachedDoc() { this.attachedDoc = null; } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { super.appendFields(locator, buffer, strategy); { BaseNotificationType theBaseNotificationInfo; theBaseNotificationInfo = this.getBaseNotificationInfo(); strategy.appendField(locator, this, "baseNotificationInfo", buffer, theBaseNotificationInfo); } { LastNotificationType theLastNotification; theLastNotification = this.getLastNotification(); strategy.appendField(locator, this, "lastNotification", buffer, theLastNotification); } { ProcedureRegisterType theProcedureRegister; theProcedureRegister = this.getProcedureRegister(); strategy.appendField(locator, this, "procedureRegister", buffer, theProcedureRegister); } { List theAttachedDoc; theAttachedDoc = (this.isSetAttachedDoc()?this.getAttachedDoc():null); strategy.appendField(locator, this, "attachedDoc", buffer, theAttachedDoc); } return buffer; } public ReceivePgsNotificationRequest withBaseNotificationInfo(BaseNotificationType value) { setBaseNotificationInfo(value); return this; } public ReceivePgsNotificationRequest withLastNotification(LastNotificationType value) { setLastNotification(value); return this; } public ReceivePgsNotificationRequest withProcedureRegister(ProcedureRegisterType value) { setProcedureRegister(value); return this; } public ReceivePgsNotificationRequest withAttachedDoc(DocType... values) { if (values!= null) { for (DocType value: values) { getAttachedDoc().add(value); } } return this; } public ReceivePgsNotificationRequest withAttachedDoc(Collection values) { if (values!= null) { getAttachedDoc().addAll(values); } return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy