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

eu.fispace.api.admin.NotificationInfo 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:20 AM CEST 
//


package eu.fispace.api.admin;

import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
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;


/**
 * 

Clase Java para NotificationInfo complex type. * *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. * *

 * <complexType name="NotificationInfo">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="fispaceUserId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="type" type="{http://www.fispace.eu/domain/admin}NotificationType"/>
 *         <element name="message">
 *           <simpleType>
 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               <maxLength value="255"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "NotificationInfo", namespace = "http://www.fispace.eu/domain/admin", propOrder = { "fispaceUserId", "type", "message" }) public class NotificationInfo implements Serializable, ToString { @XmlElement(required = true) @NotNull protected String fispaceUserId; @XmlElement(required = true) @NotNull protected NotificationType type; @XmlElement(required = true) @NotNull @Size(max = 255) protected String message; /** * Obtiene el valor de la propiedad fispaceUserId. * * @return * possible object is * {@link String } * */ public String getFispaceUserId() { return fispaceUserId; } /** * Define el valor de la propiedad fispaceUserId. * * @param value * allowed object is * {@link String } * */ public void setFispaceUserId(String value) { this.fispaceUserId = value; } public boolean isSetFispaceUserId() { return (this.fispaceUserId!= null); } /** * Obtiene el valor de la propiedad type. * * @return * possible object is * {@link NotificationType } * */ public NotificationType getType() { return type; } /** * Define el valor de la propiedad type. * * @param value * allowed object is * {@link NotificationType } * */ public void setType(NotificationType value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * Obtiene el valor de la propiedad message. * * @return * possible object is * {@link String } * */ public String getMessage() { return message; } /** * Define el valor de la propiedad message. * * @param value * allowed object is * {@link String } * */ public void setMessage(String value) { this.message = value; } public boolean isSetMessage() { return (this.message!= 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) { { String theFispaceUserId; theFispaceUserId = this.getFispaceUserId(); strategy.appendField(locator, this, "fispaceUserId", buffer, theFispaceUserId); } { NotificationType theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType); } { String theMessage; theMessage = this.getMessage(); strategy.appendField(locator, this, "message", buffer, theMessage); } return buffer; } public NotificationInfo withFispaceUserId(String value) { setFispaceUserId(value); return this; } public NotificationInfo withType(NotificationType value) { setType(value); return this; } public NotificationInfo withMessage(String value) { setMessage(value); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy