com.amazonaws.a2s.model
Class SimilarityLookupResponse

java.lang.Object
  extended by com.amazonaws.a2s.model.SimilarityLookupResponse

public class SimilarityLookupResponse
extends java.lang.Object

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 ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}OperationRequest" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Items" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.util.List<Items> items
           
protected  OperationRequest operationRequest
           
 
Constructor Summary
SimilarityLookupResponse()
           
 
Method Summary
 java.util.List<Items> getItems()
          Gets the value of the items property.
 OperationRequest getOperationRequest()
          Gets the value of the operationRequest property.
 boolean isSetItems()
           
 boolean isSetOperationRequest()
           
 void setItems(java.util.List<Items> items)
          Sets the value of the items property.
 void setOperationRequest(OperationRequest value)
          Sets the value of the operationRequest property.
 java.lang.String toXML()
          XML string representation of this object
 void unsetItems()
           
 SimilarityLookupResponse withItems(Items... values)
          Sets the value of the Items property.
 SimilarityLookupResponse withOperationRequest(OperationRequest value)
          Sets the value of the OperationRequest property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operationRequest

protected OperationRequest operationRequest

items

protected java.util.List<Items> items
Constructor Detail

SimilarityLookupResponse

public SimilarityLookupResponse()
Method Detail

getOperationRequest

public OperationRequest getOperationRequest()
Gets the value of the operationRequest property.

Returns:
possible object is OperationRequest

setOperationRequest

public void setOperationRequest(OperationRequest value)
Sets the value of the operationRequest property.

Parameters:
value - allowed object is OperationRequest

isSetOperationRequest

public boolean isSetOperationRequest()

getItems

public java.util.List<Items> getItems()
Gets the value of the items 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 items property.

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

    getItems().add(newItem);
 

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


isSetItems

public boolean isSetItems()

unsetItems

public void unsetItems()

withOperationRequest

public SimilarityLookupResponse withOperationRequest(OperationRequest value)
Sets the value of the OperationRequest property.

Parameters:
value -
Returns:
this instance

withItems

public SimilarityLookupResponse withItems(Items... values)
Sets the value of the Items property.

Parameters:
values -
Returns:
this instance

setItems

public void setItems(java.util.List<Items> items)
Sets the value of the items property.

Parameters:
items - allowed object is Items

toXML

public java.lang.String toXML()
XML string representation of this object

Returns:
XML String