background image

Items.java Class Code

<< Schema-Derived JAXB Classes | ObjectFactory.java Class Code >>
<< Schema-Derived JAXB Classes | ObjectFactory.java Class Code >>
S
CHEMA
-D
ERIVED
JAXB C
LASSES
23
Items.java
In
Items.java
, below:
· The
Items.java
class is part of the
primer.po
package.
· The class provides public interfaces for
Items
and
ItemType
.
· Content in instantiations of this class bind to the XML ComplexTypes
Items
and its child element
ItemType
.
·
Item
provides the
getItem()
method.
·
ItemType
provides methods for:
· getPartNum();
· setPartNum(String value);
· getComment();
· setComment(java.lang.String value);
· getUSPrice();
· setUSPrice(java.math.BigDecimal value);
· getProductName();
· setProductName(String value);
· getShipDate();
· setShipDate(java.util.Calendar value);
· getQuantity();
· setQuantity(java.math.BigInteger value);
The
Items.java
code looks like this:
package primer.po;
public interface Items {
java.util.List getItem();
public interface ItemType {
String getPartNum();
void setPartNum(String value);
java.lang.String getComment();
void setComment(java.lang.String value);
java.math.BigDecimal getUSPrice();
void setUSPrice(java.math.BigDecimal value);
String getProductName();
void setProductName(String value);
java.util.Calendar getShipDate();
void setShipDate(java.util.Calendar value);