|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.cm.Predicate
public class Predicate
Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered.
| Constructor Summary | |
|---|---|
Predicate()
|
|
Predicate(String field,
PredicateOperator operator,
String[] values)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getField()
Gets the field value for this Predicate. |
PredicateOperator |
getOperator()
Gets the operator value for this Predicate. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
String[] |
getValues()
Gets the values value for this Predicate. |
String |
getValues(int i)
|
int |
hashCode()
|
void |
setField(String field)
Sets the field value for this Predicate. |
void |
setOperator(PredicateOperator operator)
Sets the operator value for this Predicate. |
void |
setValues(int i,
String _value)
|
void |
setValues(String[] values)
Sets the values value for this Predicate. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Predicate()
public Predicate(String field,
PredicateOperator operator,
String[] values)
| Method Detail |
|---|
public String getField()
selector, refer to
the filterable fields from the
Campaign reference page.
This field is required
and should not be null.public void setField(String field)
field - * The field by which to filter the returned data. Possible values
are marked Filterable on
the entity's reference page. For example, for predicates
for the
CampaignService selector, refer to
the filterable fields from the
Campaign reference page.
This field is required
and should not be null.public PredicateOperator getOperator()
null.public void setOperator(PredicateOperator operator)
operator - * The operator to use for filtering the data returned.
This field is required
and should not be null.public String[] getValues()
Operator#IN
and Operator#NOT_IN take multiple values. All others
take a single value.
This field
must not contain null elements.
This field is required
and should not be null.public void setValues(String[] values)
values - * The values by which to filter the field. The Operator#IN
and Operator#NOT_IN take multiple values. All others
take a single value.
This field
must not contain null elements.
This field is required
and should not be null.public String getValues(int i)
public void setValues(int i,
String _value)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||