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/v201506}Predicate.Operator"/>
<element name="values" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
field |
protected PredicateOperator |
operator |
protected List<String> |
values |
| Constructor and Description |
|---|
Predicate() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected String field
protected PredicateOperator operator
public String getField()
Stringpublic void setField(String value)
value - allowed object is
Stringpublic PredicateOperator getOperator()
PredicateOperatorpublic void setOperator(PredicateOperator value)
value - allowed object is
PredicateOperatorpublic List<String> getValues()
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 © 2016. All Rights Reserved.