public class Product extends Object implements org.apache.axis2.databinding.ADBBean
Modifier and Type | Class and Description |
---|---|
static class |
Product.Factory
Factory class that keeps the parse method
|
Modifier and Type | Field and Description |
---|---|
protected double |
localBuyPrice
field for BuyPrice
|
protected String |
localProductCode
field for ProductCode
|
protected String |
localProductName
field for ProductName
|
protected BigInteger |
localQuantityInStock
field for QuantityInStock
|
Constructor and Description |
---|
Product() |
Modifier and Type | Method and Description |
---|---|
double |
getBuyPrice()
Auto generated getter method
|
org.apache.axiom.om.OMElement |
getOMElement(QName parentQName,
org.apache.axiom.om.OMFactory factory) |
String |
getProductCode()
Auto generated getter method
|
String |
getProductName()
Auto generated getter method
|
javax.xml.stream.XMLStreamReader |
getPullParser(QName qName)
databinding method to get an XML representation of this object
|
BigInteger |
getQuantityInStock()
Auto generated getter method
|
void |
serialize(QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter) |
void |
serialize(QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter,
boolean serializeType) |
void |
setBuyPrice(double param)
Auto generated setter method
|
void |
setProductCode(String param)
Auto generated setter method
|
void |
setProductName(String param)
Auto generated setter method
|
void |
setQuantityInStock(BigInteger param)
Auto generated setter method
|
protected String localProductCode
protected String localProductName
protected BigInteger localQuantityInStock
protected double localBuyPrice
public String getProductCode()
public void setProductCode(String param)
param
- ProductCodepublic String getProductName()
public void setProductName(String param)
param
- ProductNamepublic BigInteger getQuantityInStock()
public void setQuantityInStock(BigInteger param)
param
- QuantityInStockpublic double getBuyPrice()
public void setBuyPrice(double param)
param
- BuyPricepublic org.apache.axiom.om.OMElement getOMElement(QName parentQName, org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException
getOMElement
in interface org.apache.axis2.databinding.ADBBean
parentQName
- factory
- org.apache.axis2.databinding.ADBException
public void serialize(QName parentQName, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException
serialize
in interface org.apache.axis2.databinding.ADBBean
javax.xml.stream.XMLStreamException
org.apache.axis2.databinding.ADBException
public void serialize(QName parentQName, javax.xml.stream.XMLStreamWriter xmlWriter, boolean serializeType) throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException
serialize
in interface org.apache.axis2.databinding.ADBBean
javax.xml.stream.XMLStreamException
org.apache.axis2.databinding.ADBException
public javax.xml.stream.XMLStreamReader getPullParser(QName qName) throws org.apache.axis2.databinding.ADBException
getPullParser
in interface org.apache.axis2.databinding.ADBBean
org.apache.axis2.databinding.ADBException
Copyright © 2015 WSO2 Inc. All rights reserved.