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:25 AM GMT 
  //
  
  
  package com.xerox.amazonws.typica.sdb.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="AttributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="DomainName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="QueryExpression" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="MaxNumberOfItems" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="NextToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "attributeNames",
     "domainName",
     "queryExpression",
     "maxNumberOfItems",
     "nextToken"
 })
 @XmlRootElement(name = "QueryWithAttributes")
 public class QueryWithAttributes {
 
     @XmlElement(name = "AttributeName")
     protected List<StringattributeNames;
     @XmlElement(name = "DomainName", required = true)
     protected String domainName;
     @XmlElement(name = "QueryExpression")
     protected String queryExpression;
     @XmlElement(name = "MaxNumberOfItems")
     protected Integer maxNumberOfItems;
     @XmlElement(name = "NextToken")
     protected String nextToken;

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

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

    getAttributeNames().add(newItem);
 

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

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

    
Gets the value of the domainName property.

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

    
Sets the value of the domainName property.

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

    
Gets the value of the queryExpression property.

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

    
Sets the value of the queryExpression property.

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

    
Gets the value of the maxNumberOfItems property.

Returns:
possible object is
    public Integer getMaxNumberOfItems() {
        return ;
    }

    
Sets the value of the maxNumberOfItems property.

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

    
Gets the value of the nextToken property.

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

    
Sets the value of the nextToken property.

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