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

eu.fispace.api.admin.Notification 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.05.31 a las 10:59:21 PM CEST 
//


package eu.fispace.api.admin;

import java.io.Serializable;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
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 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;


/**
 * 
 *                     Notification message used in...
 *                 
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "notificationInfo"
})
@XmlRootElement(name = "Notification", namespace = "")
public class Notification
    extends SynchRequestMessage
    implements Serializable, ToString
{

    @XmlElement(name = "NotificationInfo", required = true)
    @NotNull
    @Valid
    protected NotificationInfo notificationInfo;

    /**
     * Obtiene el valor de la propiedad notificationInfo.
     * 
     * @return
     *     possible object is
     *     {@link NotificationInfo }
     *     
     */
    public NotificationInfo getNotificationInfo() {
        return notificationInfo;
    }

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

    public boolean isSetNotificationInfo() {
        return (this.notificationInfo!= 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);
        {
            NotificationInfo theNotificationInfo;
            theNotificationInfo = this.getNotificationInfo();
            strategy.appendField(locator, this, "notificationInfo", buffer, theNotificationInfo);
        }
        return buffer;
    }

    public Notification withNotificationInfo(NotificationInfo value) {
        setNotificationInfo(value);
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy