public class Ordertype extends Object
Java class for ordertype complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ordertype"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="person" type="{http://jboss.org/resteasy/test/providers/jaxb/generated/order}stringtype"/> <element name="shipto" type="{http://jboss.org/resteasy/test/providers/jaxb/generated/order}shiptotype"/> <element name="item" type="{http://jboss.org/resteasy/test/providers/jaxb/generated/order}itemtype" maxOccurs="unbounded"/> </sequence> <attribute name="orderid" use="required" type="{http://jboss.org/resteasy/test/providers/jaxb/generated/order}orderidtype" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Itemtype> |
item |
protected String |
orderid |
protected String |
person |
protected Shiptotype |
shipto |
Constructor and Description |
---|
Ordertype() |
Modifier and Type | Method and Description |
---|---|
List<Itemtype> |
getItem()
Gets the value of the item property.
|
String |
getOrderid()
Gets the value of the orderid property.
|
String |
getPerson()
Gets the value of the person property.
|
Shiptotype |
getShipto()
Gets the value of the shipto property.
|
void |
setOrderid(String value)
Sets the value of the orderid property.
|
void |
setPerson(String value)
Sets the value of the person property.
|
void |
setShipto(Shiptotype value)
Sets the value of the shipto property.
|
protected String person
protected Shiptotype shipto
protected String orderid
public String getPerson()
String
public void setPerson(String value)
value
- allowed object is
String
public Shiptotype getShipto()
Shiptotype
public void setShipto(Shiptotype value)
value
- allowed object is
Shiptotype
public List<Itemtype> getItem()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the item property.
For example, to add a new item, do as follows:
getItem().add(newItem);
Objects of the following type(s) are allowed in the list
Itemtype
public String getOrderid()
String
Copyright © 2012. All Rights Reserved.