
eu.fispace.api.pgs.SubmitFirstUserNotificationResponse Maven / Gradle / Ivy
//
// 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:22 PM 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.ResponseMessage;
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.
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"responseText",
"responseDataStream",
"procedureRegister",
"attachedDoc"
})
@XmlRootElement(name = "SubmitFirstUserNotificationResponse")
public class SubmitFirstUserNotificationResponse
extends ResponseMessage
implements Serializable, ToString
{
@XmlElement(required = true)
protected String responseText;
@XmlElement(required = true, nillable = true)
protected String responseDataStream;
@XmlElement(required = true)
protected ProcedureRegisterType procedureRegister;
protected List attachedDoc;
/**
* Obtiene el valor de la propiedad responseText.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResponseText() {
return responseText;
}
/**
* Define el valor de la propiedad responseText.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResponseText(String value) {
this.responseText = value;
}
public boolean isSetResponseText() {
return (this.responseText!= null);
}
/**
* Obtiene el valor de la propiedad responseDataStream.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResponseDataStream() {
return responseDataStream;
}
/**
* Define el valor de la propiedad responseDataStream.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResponseDataStream(String value) {
this.responseDataStream = value;
}
public boolean isSetResponseDataStream() {
return (this.responseDataStream!= 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);
{
String theResponseText;
theResponseText = this.getResponseText();
strategy.appendField(locator, this, "responseText", buffer, theResponseText);
}
{
String theResponseDataStream;
theResponseDataStream = this.getResponseDataStream();
strategy.appendField(locator, this, "responseDataStream", buffer, theResponseDataStream);
}
{
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 SubmitFirstUserNotificationResponse withResponseText(String value) {
setResponseText(value);
return this;
}
public SubmitFirstUserNotificationResponse withResponseDataStream(String value) {
setResponseDataStream(value);
return this;
}
public SubmitFirstUserNotificationResponse withProcedureRegister(ProcedureRegisterType value) {
setProcedureRegister(value);
return this;
}
public SubmitFirstUserNotificationResponse withAttachedDoc(DocType... values) {
if (values!= null) {
for (DocType value: values) {
getAttachedDoc().add(value);
}
}
return this;
}
public SubmitFirstUserNotificationResponse withAttachedDoc(Collection values) {
if (values!= null) {
getAttachedDoc().addAll(values);
}
return this;
}
}