org.ow2.frascati.examples.sales
Class SalesItem

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

public class SalesItem
extends java.lang.Object

Java class for SalesItem complex type.

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

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


Field Summary
protected  java.lang.String name
           
protected  int quantity
           
protected  int refId
           
 
Constructor Summary
SalesItem()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 int getQuantity()
          Gets the value of the quantity property.
 int getRefId()
          Gets the value of the refId property.
 void setName(java.lang.String value)
          Sets the value of the name 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

name

protected java.lang.String name

quantity

protected int quantity
Constructor Detail

SalesItem

public SalesItem()
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.


getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

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.