Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2008.10.29 at 01:06:24 AM GMT 
  //
  
  
  package com.xerox.amazonws.typica.jaxb;
 
 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="GrantList" type="{http://queue.amazonaws.com/doc/2007-05-01/}Grant" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://queue.amazonaws.com/doc/2007-05-01/}ResponseStatus"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "grantLists",
     "responseStatus"
 })
 @XmlRootElement(name = "ListGrantsResponse", namespace = "http://queue.amazonaws.com/doc/2007-05-01/")
 public class ListGrantsResponse {
 
     @XmlElement(name = "GrantList", namespace = "http://queue.amazonaws.com/doc/2007-05-01/")
     protected List<GrantgrantLists;
     @XmlElement(name = "ResponseStatus", namespace = "http://queue.amazonaws.com/doc/2007-05-01/", required = true)
     protected ResponseStatus responseStatus;

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

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

    getGrantLists().add(newItem);
 

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

 
     public List<GrantgetGrantLists() {
         if ( == null) {
              = new ArrayList<Grant>();
         }
         return this.;
     }

    
Gets the value of the responseStatus property.

Returns:
possible object is
 
     public ResponseStatus getResponseStatus() {
         return ;
     }

    
Sets the value of the responseStatus property.

Parameters:
value allowed object is
    public void setResponseStatus(ResponseStatus value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X