com.google.api.ads.adwords.lib.jaxb.v201109
Class Predicate

java.lang.Object
  extended by com.google.api.ads.adwords.lib.jaxb.v201109.Predicate

public class Predicate
extends Object

Java class for Predicate complex type.

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

 <complexType name="Predicate">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="field" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="operator" type="{https://adwords.google.com/api/adwords/cm/v201109}Predicate.Operator"/>
         <element name="values" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String field
           
protected  PredicateOperator operator
           
protected  List<String> values
           
 
Constructor Summary
Predicate()
           
 
Method Summary
 String getField()
          Gets the value of the field property.
 PredicateOperator getOperator()
          Gets the value of the operator property.
 List<String> getValues()
          Gets the value of the values property.
 void setField(String value)
          Sets the value of the field property.
 void setOperator(PredicateOperator value)
          Sets the value of the operator property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

field

protected String field

operator

protected PredicateOperator operator

values

protected List<String> values
Constructor Detail

Predicate

public Predicate()
Method Detail

getField

public String getField()
Gets the value of the field property.

Returns:
possible object is String

setField

public void setField(String value)
Sets the value of the field property.

Parameters:
value - allowed object is String

getOperator

public PredicateOperator getOperator()
Gets the value of the operator property.

Returns:
possible object is PredicateOperator

setOperator

public void setOperator(PredicateOperator value)
Sets the value of the operator property.

Parameters:
value - allowed object is PredicateOperator

getValues

public List<String> getValues()
Gets the value of the values 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 values property.

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

    getValues().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.