com.google.api.ads.adwords.v201109.cm
Class Selector

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Selector
All Implemented Interfaces:
Serializable

public class Selector
extends Object
implements Serializable

A generic selector to specify the type of information to return.

See Also:
Serialized Form

Constructor Summary
Selector()
           
Selector(String[] fields, Predicate[] predicates, DateRange dateRange, OrderBy[] ordering, Paging paging)
           
 
Method Summary
 boolean equals(Object obj)
           
 DateRange getDateRange()
          Gets the dateRange value for this Selector.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String[] getFields()
          Gets the fields value for this Selector.
 String getFields(int i)
           
 OrderBy[] getOrdering()
          Gets the ordering value for this Selector.
 OrderBy getOrdering(int i)
           
 Paging getPaging()
          Gets the paging value for this Selector.
 Predicate[] getPredicates()
          Gets the predicates value for this Selector.
 Predicate getPredicates(int i)
           
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
 int hashCode()
           
 void setDateRange(DateRange dateRange)
          Sets the dateRange value for this Selector.
 void setFields(int i, String _value)
           
 void setFields(String[] fields)
          Sets the fields value for this Selector.
 void setOrdering(int i, OrderBy _value)
           
 void setOrdering(OrderBy[] ordering)
          Sets the ordering value for this Selector.
 void setPaging(Paging paging)
          Sets the paging value for this Selector.
 void setPredicates(int i, Predicate _value)
           
 void setPredicates(Predicate[] predicates)
          Sets the predicates value for this Selector.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selector

public Selector()

Selector

public Selector(String[] fields,
                Predicate[] predicates,
                DateRange dateRange,
                OrderBy[] ordering,
                Paging paging)
Method Detail

getFields

public String[] getFields()
Gets the fields value for this Selector.

Returns:
fields * List of fields to select. Possible values are marked Selectable on the entity's reference page. For example, for the CampaignService selector, refer to the selectable fields from the Campaign reference page. This field must contain distinct elements. This field must not contain null elements. This field is required and should not be null.

setFields

public void setFields(String[] fields)
Sets the fields value for this Selector.

Parameters:
fields - * List of fields to select. Possible values are marked Selectable on the entity's reference page. For example, for the CampaignService selector, refer to the selectable fields from the Campaign reference page. This field must contain distinct elements. This field must not contain null elements. This field is required and should not be null.

getFields

public String getFields(int i)

setFields

public void setFields(int i,
                      String _value)

getPredicates

public Predicate[] getPredicates()
Gets the predicates value for this Selector.

Returns:
predicates * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. This field must not contain null elements.

setPredicates

public void setPredicates(Predicate[] predicates)
Sets the predicates value for this Selector.

Parameters:
predicates - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. This field must not contain null elements.

getPredicates

public Predicate getPredicates(int i)

setPredicates

public void setPredicates(int i,
                          Predicate _value)

getDateRange

public DateRange getDateRange()
Gets the dateRange value for this Selector.

Returns:
dateRange * Range of dates for which you want to include data. If this value is omitted, results for all dates are returned. This range must be contained within the range [19700101, 20380101].

setDateRange

public void setDateRange(DateRange dateRange)
Sets the dateRange value for this Selector.

Parameters:
dateRange - * Range of dates for which you want to include data. If this value is omitted, results for all dates are returned. This range must be contained within the range [19700101, 20380101].

getOrdering

public OrderBy[] getOrdering()
Gets the ordering value for this Selector.

Returns:
ordering * The fields on which you want to sort, and the sort order. The order in the list is significant: The first element in the list indicates the primary sort order, the next specifies the secondary sort order and so on.

setOrdering

public void setOrdering(OrderBy[] ordering)
Sets the ordering value for this Selector.

Parameters:
ordering - * The fields on which you want to sort, and the sort order. The order in the list is significant: The first element in the list indicates the primary sort order, the next specifies the secondary sort order and so on.

getOrdering

public OrderBy getOrdering(int i)

setOrdering

public void setOrdering(int i,
                        OrderBy _value)

getPaging

public Paging getPaging()
Gets the paging value for this Selector.

Returns:
paging * Pagination information.

setPaging

public void setPaging(Paging paging)
Sets the paging value for this Selector.

Parameters:
paging - * Pagination information.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.