org.ow2.frascati.examples.sales
Class StockItem

java.lang.Object
  extended by org.ow2.frascati.examples.sales.StockItem

public class StockItem
extends java.lang.Object

Java class for StockItem complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="StockItem">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="refId" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  int quantity
           
protected  int refId
           
 
Constructor Summary
StockItem()
           
 
Method Summary
 int getQuantity()
          Gets the value of the quantity property.
 int getRefId()
          Gets the value of the refId property.
 void setQuantity(int value)
          Sets the value of the quantity property.
 void setRefId(int value)
          Sets the value of the refId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

refId

protected int refId

quantity

protected int quantity
Constructor Detail

StockItem

public StockItem()
Method Detail

getRefId

public int getRefId()
Gets the value of the refId property.


setRefId

public void setRefId(int value)
Sets the value of the refId property.


getQuantity

public int getQuantity()
Gets the value of the quantity property.


setQuantity

public void setQuantity(int value)
Sets the value of the quantity property.



Copyright © 2010 OW2 Consortium. All Rights Reserved.