org.jboss.resteasy.test.providers.jaxb.generated.order
Class Ordertype

java.lang.Object
  extended by org.jboss.resteasy.test.providers.jaxb.generated.order.Ordertype

public class Ordertype
extends java.lang.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>
 


Field Summary
protected  java.util.List<Itemtype> item
           
protected  java.lang.String orderid
           
protected  java.lang.String person
           
protected  Shiptotype shipto
           
 
Constructor Summary
Ordertype()
           
 
Method Summary
 java.util.List<Itemtype> getItem()
          Gets the value of the item property.
 java.lang.String getOrderid()
          Gets the value of the orderid property.
 java.lang.String getPerson()
          Gets the value of the person property.
 Shiptotype getShipto()
          Gets the value of the shipto property.
 void setOrderid(java.lang.String value)
          Sets the value of the orderid property.
 void setPerson(java.lang.String value)
          Sets the value of the person property.
 void setShipto(Shiptotype value)
          Sets the value of the shipto property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

person

protected java.lang.String person

shipto

protected Shiptotype shipto

item

protected java.util.List<Itemtype> item

orderid

protected java.lang.String orderid
Constructor Detail

Ordertype

public Ordertype()
Method Detail

getPerson

public java.lang.String getPerson()
Gets the value of the person property.

Returns:
possible object is String

setPerson

public void setPerson(java.lang.String value)
Sets the value of the person property.

Parameters:
value - allowed object is String

getShipto

public Shiptotype getShipto()
Gets the value of the shipto property.

Returns:
possible object is Shiptotype

setShipto

public void setShipto(Shiptotype value)
Sets the value of the shipto property.

Parameters:
value - allowed object is Shiptotype

getItem

public java.util.List<Itemtype> getItem()
Gets the value of the item property.

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


getOrderid

public java.lang.String getOrderid()
Gets the value of the orderid property.

Returns:
possible object is String

setOrderid

public void setOrderid(java.lang.String value)
Sets the value of the orderid property.

Parameters:
value - allowed object is String


Copyright © 2008. All Rights Reserved.