All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.frascati.examples.sales.StockResponse 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.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="refId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="result" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "refId", "result" }) @XmlRootElement(name = "stockResponse") public class StockResponse implements ToString { protected int refId; protected boolean result; /** * Gets the value of the refId property. * */ public int getRefId() { return refId; } /** * Sets the value of the refId property. * */ public void setRefId(int value) { this.refId = value; } /** * Gets the value of the result property. * */ public boolean isResult() { return result; } /** * Sets the value of the result property. * */ public void setResult(boolean value) { this.result = value; } public void toString(ToStringBuilder toStringBuilder) { { int theRefId; theRefId = this.getRefId(); toStringBuilder.append("refId", theRefId); } { boolean theResult; theResult = this.isResult(); toStringBuilder.append("result", theResult); } } public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy