
eu.fispace.api.ag.PlantDiagnosisRequest 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.04.10 a las 11:14:17 AM CEST
//
package eu.fispace.api.ag;
import java.io.Serializable;
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;
/**
*
* This class represents the diagnosis request details that are
* sent to FIspace by a grower.
* The SDI component is going to forward this information to
* the B2B engine, specifically the crop manager capability.
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"plantDiagnosisRequestInfo"
})
@XmlRootElement(name = "PlantDiagnosisRequest")
public class PlantDiagnosisRequest
extends RequestMessage
implements Serializable, ToString
{
@XmlElement(required = true)
protected PlantDiagnosisRequestType plantDiagnosisRequestInfo;
/**
* Obtiene el valor de la propiedad plantDiagnosisRequestInfo.
*
* @return
* possible object is
* {@link PlantDiagnosisRequestType }
*
*/
public PlantDiagnosisRequestType getPlantDiagnosisRequestInfo() {
return plantDiagnosisRequestInfo;
}
/**
* Define el valor de la propiedad plantDiagnosisRequestInfo.
*
* @param value
* allowed object is
* {@link PlantDiagnosisRequestType }
*
*/
public void setPlantDiagnosisRequestInfo(PlantDiagnosisRequestType value) {
this.plantDiagnosisRequestInfo = value;
}
public boolean isSetPlantDiagnosisRequestInfo() {
return (this.plantDiagnosisRequestInfo!= 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);
{
PlantDiagnosisRequestType thePlantDiagnosisRequestInfo;
thePlantDiagnosisRequestInfo = this.getPlantDiagnosisRequestInfo();
strategy.appendField(locator, this, "plantDiagnosisRequestInfo", buffer, thePlantDiagnosisRequestInfo);
}
return buffer;
}
public PlantDiagnosisRequest withPlantDiagnosisRequestInfo(PlantDiagnosisRequestType value) {
setPlantDiagnosisRequestInfo(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy