public class Item extends Object
Java class for Item complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Item">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="productName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="quantity">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}positiveInteger">
<maxExclusive value="100"/>
</restriction>
</simpleType>
</element>
<element name="USPrice" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element ref="{http://jboss.org/resteasy/test/providers/jaxb/generated/po}comment" minOccurs="0"/>
<element name="shipDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
</sequence>
<attribute name="partNum" use="required" type="{http://jboss.org/resteasy/test/providers/jaxb/generated/po}SKU" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected String |
partNum |
protected String |
productName |
protected int |
quantity |
protected XMLGregorianCalendar |
shipDate |
protected BigDecimal |
usPrice |
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Gets the value of the comment property.
|
String |
getPartNum()
Gets the value of the partNum property.
|
String |
getProductName()
Gets the value of the productName property.
|
int |
getQuantity()
Gets the value of the quantity property.
|
XMLGregorianCalendar |
getShipDate()
Gets the value of the shipDate property.
|
BigDecimal |
getUSPrice()
Gets the value of the usPrice property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setPartNum(String value)
Sets the value of the partNum property.
|
void |
setProductName(String value)
Sets the value of the productName property.
|
void |
setQuantity(int value)
Sets the value of the quantity property.
|
void |
setShipDate(XMLGregorianCalendar value)
Sets the value of the shipDate property.
|
void |
setUSPrice(BigDecimal value)
Sets the value of the usPrice property.
|
protected String productName
protected int quantity
protected BigDecimal usPrice
protected String comment
protected XMLGregorianCalendar shipDate
protected String partNum
public String getProductName()
Stringpublic void setProductName(String value)
value - allowed object is
Stringpublic int getQuantity()
public void setQuantity(int value)
public BigDecimal getUSPrice()
BigDecimalpublic void setUSPrice(BigDecimal value)
value - allowed object is
BigDecimalpublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getShipDate()
XMLGregorianCalendarpublic void setShipDate(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic String getPartNum()
StringCopyright © 2013. All Rights Reserved.