org.ow2.frascati.examples.sales.StockRequest Maven / Gradle / Ivy
The newest version!
package org.ow2.frascati.examples.sales;
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 org.apache.commons.lang.builder.ToStringBuilder;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.builder.JAXBToStringBuilder;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="article" type="{http://frascati.ow2.org/examples/sales}StockItem"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"article"
})
@XmlRootElement(name = "stockRequest")
public class StockRequest
implements ToString
{
@XmlElement(required = true)
protected StockItem article;
/**
* Gets the value of the article property.
*
* @return
* possible object is
* {@link StockItem }
*
*/
public StockItem getArticle() {
return article;
}
/**
* Sets the value of the article property.
*
* @param value
* allowed object is
* {@link StockItem }
*
*/
public void setArticle(StockItem value) {
this.article = value;
}
public void toString(ToStringBuilder toStringBuilder) {
{
StockItem theArticle;
theArticle = this.getArticle();
toStringBuilder.append("article", theArticle);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy