
eu.fispace.api.ag.SearchForFarmersResponse Maven / Gradle / Ivy
The 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.06.30 a las 10:15:50 PM 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.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;
/**
*
* This class gives the information ......
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"farmerName",
"city",
"municipality",
"country",
"vatId",
"generalProductCategory",
"specificProductCategory",
"farmingArea"
})
@XmlRootElement(name = "SearchForFarmersResponse")
public class SearchForFarmersResponse
extends ResponseMessage
implements Serializable, ToString
{
@XmlElement(required = true)
protected String farmerName;
@XmlElement(required = true)
protected String city;
@XmlElement(required = true)
protected String municipality;
@XmlElement(required = true)
protected String country;
@XmlElement(required = true)
protected String vatId;
@XmlElement(required = true)
protected String generalProductCategory;
@XmlElement(required = true)
protected String specificProductCategory;
@XmlElement(required = true)
protected String farmingArea;
/**
* Obtiene el valor de la propiedad farmerName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFarmerName() {
return farmerName;
}
/**
* Define el valor de la propiedad farmerName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFarmerName(String value) {
this.farmerName = value;
}
public boolean isSetFarmerName() {
return (this.farmerName!= null);
}
/**
* Obtiene el valor de la propiedad city.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}
/**
* Define el valor de la propiedad city.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}
public boolean isSetCity() {
return (this.city!= null);
}
/**
* Obtiene el valor de la propiedad municipality.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMunicipality() {
return municipality;
}
/**
* Define el valor de la propiedad municipality.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMunicipality(String value) {
this.municipality = value;
}
public boolean isSetMunicipality() {
return (this.municipality!= null);
}
/**
* Obtiene el valor de la propiedad country.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountry() {
return country;
}
/**
* Define el valor de la propiedad country.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountry(String value) {
this.country = value;
}
public boolean isSetCountry() {
return (this.country!= null);
}
/**
* Obtiene el valor de la propiedad vatId.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVatId() {
return vatId;
}
/**
* Define el valor de la propiedad vatId.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVatId(String value) {
this.vatId = value;
}
public boolean isSetVatId() {
return (this.vatId!= null);
}
/**
* Obtiene el valor de la propiedad generalProductCategory.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGeneralProductCategory() {
return generalProductCategory;
}
/**
* Define el valor de la propiedad generalProductCategory.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGeneralProductCategory(String value) {
this.generalProductCategory = value;
}
public boolean isSetGeneralProductCategory() {
return (this.generalProductCategory!= null);
}
/**
* Obtiene el valor de la propiedad specificProductCategory.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpecificProductCategory() {
return specificProductCategory;
}
/**
* Define el valor de la propiedad specificProductCategory.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpecificProductCategory(String value) {
this.specificProductCategory = value;
}
public boolean isSetSpecificProductCategory() {
return (this.specificProductCategory!= null);
}
/**
* Obtiene el valor de la propiedad farmingArea.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFarmingArea() {
return farmingArea;
}
/**
* Define el valor de la propiedad farmingArea.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFarmingArea(String value) {
this.farmingArea = value;
}
public boolean isSetFarmingArea() {
return (this.farmingArea!= 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 theFarmerName;
theFarmerName = this.getFarmerName();
strategy.appendField(locator, this, "farmerName", buffer, theFarmerName);
}
{
String theCity;
theCity = this.getCity();
strategy.appendField(locator, this, "city", buffer, theCity);
}
{
String theMunicipality;
theMunicipality = this.getMunicipality();
strategy.appendField(locator, this, "municipality", buffer, theMunicipality);
}
{
String theCountry;
theCountry = this.getCountry();
strategy.appendField(locator, this, "country", buffer, theCountry);
}
{
String theVatId;
theVatId = this.getVatId();
strategy.appendField(locator, this, "vatId", buffer, theVatId);
}
{
String theGeneralProductCategory;
theGeneralProductCategory = this.getGeneralProductCategory();
strategy.appendField(locator, this, "generalProductCategory", buffer, theGeneralProductCategory);
}
{
String theSpecificProductCategory;
theSpecificProductCategory = this.getSpecificProductCategory();
strategy.appendField(locator, this, "specificProductCategory", buffer, theSpecificProductCategory);
}
{
String theFarmingArea;
theFarmingArea = this.getFarmingArea();
strategy.appendField(locator, this, "farmingArea", buffer, theFarmingArea);
}
return buffer;
}
public SearchForFarmersResponse withFarmerName(String value) {
setFarmerName(value);
return this;
}
public SearchForFarmersResponse withCity(String value) {
setCity(value);
return this;
}
public SearchForFarmersResponse withMunicipality(String value) {
setMunicipality(value);
return this;
}
public SearchForFarmersResponse withCountry(String value) {
setCountry(value);
return this;
}
public SearchForFarmersResponse withVatId(String value) {
setVatId(value);
return this;
}
public SearchForFarmersResponse withGeneralProductCategory(String value) {
setGeneralProductCategory(value);
return this;
}
public SearchForFarmersResponse withSpecificProductCategory(String value) {
setSpecificProductCategory(value);
return this;
}
public SearchForFarmersResponse withFarmingArea(String value) {
setFarmingArea(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy