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

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

public class OrderBy
extends Object
implements Serializable

Specifies how the resulting information should be sorted.

See Also:
Serialized Form

Constructor Summary
OrderBy()
           
OrderBy(String field, SortOrder sortOrder)
           
 
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 OrderBy.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 SortOrder getSortOrder()
          Gets the sortOrder value for this OrderBy.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setField(String field)
          Sets the field value for this OrderBy.
 void setSortOrder(SortOrder sortOrder)
          Sets the sortOrder value for this OrderBy.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderBy

public OrderBy()

OrderBy

public OrderBy(String field,
               SortOrder sortOrder)
Method Detail

getField

public String getField()
Gets the field value for this OrderBy.

Returns:
field * The field to sort the results on. This field is required and should not be null.

setField

public void setField(String field)
Sets the field value for this OrderBy.

Parameters:
field - * The field to sort the results on. This field is required and should not be null.

getSortOrder

public SortOrder getSortOrder()
Gets the sortOrder value for this OrderBy.

Returns:
sortOrder * The order to sort the results on. The default sort order is SortOrder.ASCENDING.

setSortOrder

public void setSortOrder(SortOrder sortOrder)
Sets the sortOrder value for this OrderBy.

Parameters:
sortOrder - * The order to sort the results on. The default sort order is SortOrder.ASCENDING.

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.