
eu.fispace.api.ag.AgroemporiumProductPrice 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 java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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 AgroemporiumProductPrice complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="AgroemporiumProductPrice">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}ID"/>
* <element name="en_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="gr_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="avg_price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AgroemporiumProductPrice", propOrder = {
"id",
"enName",
"grName",
"avgPrice"
})
public class AgroemporiumProductPrice
implements Serializable, ToString
{
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlElement(name = "en_name", required = true)
protected String enName;
@XmlElement(name = "gr_name", required = true)
protected String grName;
@XmlElement(name = "avg_price", required = true)
protected BigDecimal avgPrice;
/**
* Obtiene el valor de la propiedad id.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Define el valor de la propiedad id.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public boolean isSetId() {
return (this.id!= null);
}
/**
* Obtiene el valor de la propiedad enName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnName() {
return enName;
}
/**
* Define el valor de la propiedad enName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnName(String value) {
this.enName = value;
}
public boolean isSetEnName() {
return (this.enName!= null);
}
/**
* Obtiene el valor de la propiedad grName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGrName() {
return grName;
}
/**
* Define el valor de la propiedad grName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGrName(String value) {
this.grName = value;
}
public boolean isSetGrName() {
return (this.grName!= null);
}
/**
* Obtiene el valor de la propiedad avgPrice.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAvgPrice() {
return avgPrice;
}
/**
* Define el valor de la propiedad avgPrice.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAvgPrice(BigDecimal value) {
this.avgPrice = value;
}
public boolean isSetAvgPrice() {
return (this.avgPrice!= 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 theId;
theId = this.getId();
strategy.appendField(locator, this, "id", buffer, theId);
}
{
String theEnName;
theEnName = this.getEnName();
strategy.appendField(locator, this, "enName", buffer, theEnName);
}
{
String theGrName;
theGrName = this.getGrName();
strategy.appendField(locator, this, "grName", buffer, theGrName);
}
{
BigDecimal theAvgPrice;
theAvgPrice = this.getAvgPrice();
strategy.appendField(locator, this, "avgPrice", buffer, theAvgPrice);
}
return buffer;
}
public AgroemporiumProductPrice withId(String value) {
setId(value);
return this;
}
public AgroemporiumProductPrice withEnName(String value) {
setEnName(value);
return this;
}
public AgroemporiumProductPrice withGrName(String value) {
setGrName(value);
return this;
}
public AgroemporiumProductPrice withAvgPrice(BigDecimal value) {
setAvgPrice(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy