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

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Criterion
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AgeRange, Carrier, ContentLabel, CriterionUserInterest, CriterionUserList, Gender, Keyword, Language, Location, OperatingSystemVersion, Placement, Platform, Polygon, Product, Proximity, Vertical

public class Criterion
extends Object
implements Serializable

Represents a criterion (such as a keyword, placement, or vertical).

See Also:
Serialized Form

Constructor Summary
Criterion()
           
Criterion(Long id, CriterionType type, String criterionType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCriterionType()
          Gets the criterionType value for this Criterion.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getId()
          Gets the id value for this Criterion.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 CriterionType getType()
          Gets the type value for this Criterion.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCriterionType(String criterionType)
          Sets the criterionType value for this Criterion.
 void setId(Long id)
          Sets the id value for this Criterion.
 void setType(CriterionType type)
          Sets the type value for this Criterion.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Criterion

public Criterion()

Criterion

public Criterion(Long id,
                 CriterionType type,
                 String criterionType)
Method Detail

getId

public Long getId()
Gets the id value for this Criterion.

Returns:
id * ID of this criterion. This field can be selected using the value "Id".This field can be filtered on. This field is required and should not be null when it is contained within Operators : SET, REMOVE.

setId

public void setId(Long id)
Sets the id value for this Criterion.

Parameters:
id - * ID of this criterion. This field can be selected using the value "Id".This field can be filtered on. This field is required and should not be null when it is contained within Operators : SET, REMOVE.

getType

public CriterionType getType()
Gets the type value for this Criterion.

Returns:
type * This field can be selected using the value "CriteriaType".This field can be filtered on. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setType

public void setType(CriterionType type)
Sets the type value for this Criterion.

Parameters:
type - * This field can be selected using the value "CriteriaType".This field can be filtered on. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getCriterionType

public String getCriterionType()
Gets the criterionType value for this Criterion.

Returns:
criterionType * Indicates that this instance is a subtype of Criterion. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

setCriterionType

public void setCriterionType(String criterionType)
Sets the criterionType value for this Criterion.

Parameters:
criterionType - * Indicates that this instance is a subtype of Criterion. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

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.