Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.soitoolkit.refapps.dealernetwork.createorder.schema.v1;
  
  import java.util.List;

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="customerId" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="uniqueCustomerReferenceId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="orderId" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "customerId",
     "uniqueCustomerReferenceId",
     "orderId",
     "any"
 })
 @XmlRootElement(name = "createOrderResponse")
 public class CreateOrderResponse {
 
     protected int customerId;
     @XmlElement(required = true)
     protected String uniqueCustomerReferenceId;
     protected int orderId;
     @XmlAnyElement(lax = true)
     protected List<Objectany;

    
Gets the value of the customerId property.
 
     public int getCustomerId() {
         return ;
     }

    
Sets the value of the customerId property.
 
     public void setCustomerId(int value) {
         this. = value;
     }

    
Gets the value of the uniqueCustomerReferenceId property.

Returns:
possible object is
 
     public String getUniqueCustomerReferenceId() {
         return ;
     }

    
Sets the value of the uniqueCustomerReferenceId property.

Parameters:
value allowed object is
 
     public void setUniqueCustomerReferenceId(String value) {
         this. = value;
     }

    
Gets the value of the orderId property.
 
     public int getOrderId() {
         return ;
    }

    
Sets the value of the orderId property.
    public void setOrderId(int value) {
        this. = value;
    }

    
Gets the value of the any 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 any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list

    public List<ObjectgetAny() {
        if ( == null) {
             = new ArrayList<Object>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X