com.google.api.adwords.v11
Class Criterion

java.lang.Object
  extended by com.google.api.adwords.v11.Criterion
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Keyword, Website

public abstract class Criterion
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Criterion()
           
Criterion(int adGroupId, CriterionType criterionType, java.lang.String destinationUrl, java.lang.String exemptionRequest, long id, java.lang.String language, java.lang.Boolean negative, java.lang.Boolean paused, CriterionStatus status)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getAdGroupId()
          Gets the adGroupId value for this Criterion.
 CriterionType getCriterionType()
          Gets the criterionType value for this Criterion.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getDestinationUrl()
          Gets the destinationUrl value for this Criterion.
 java.lang.String getExemptionRequest()
          Gets the exemptionRequest value for this Criterion.
 long getId()
          Gets the id value for this Criterion.
 java.lang.String getLanguage()
          Gets the language value for this Criterion.
 java.lang.Boolean getNegative()
          Gets the negative value for this Criterion.
 java.lang.Boolean getPaused()
          Gets the paused value for this Criterion.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 CriterionStatus getStatus()
          Gets the status value for this Criterion.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAdGroupId(int adGroupId)
          Sets the adGroupId value for this Criterion.
 void setCriterionType(CriterionType criterionType)
          Sets the criterionType value for this Criterion.
 void setDestinationUrl(java.lang.String destinationUrl)
          Sets the destinationUrl value for this Criterion.
 void setExemptionRequest(java.lang.String exemptionRequest)
          Sets the exemptionRequest value for this Criterion.
 void setId(long id)
          Sets the id value for this Criterion.
 void setLanguage(java.lang.String language)
          Sets the language value for this Criterion.
 void setNegative(java.lang.Boolean negative)
          Sets the negative value for this Criterion.
 void setPaused(java.lang.Boolean paused)
          Sets the paused value for this Criterion.
 void setStatus(CriterionStatus status)
          Sets the status 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(int adGroupId,
                 CriterionType criterionType,
                 java.lang.String destinationUrl,
                 java.lang.String exemptionRequest,
                 long id,
                 java.lang.String language,
                 java.lang.Boolean negative,
                 java.lang.Boolean paused,
                 CriterionStatus status)
Method Detail

getAdGroupId

public int getAdGroupId()
Gets the adGroupId value for this Criterion.

Returns:
adGroupId

setAdGroupId

public void setAdGroupId(int adGroupId)
Sets the adGroupId value for this Criterion.

Parameters:
adGroupId -

getCriterionType

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

Returns:
criterionType

setCriterionType

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

Parameters:
criterionType -

getDestinationUrl

public java.lang.String getDestinationUrl()
Gets the destinationUrl value for this Criterion.

Returns:
destinationUrl

setDestinationUrl

public void setDestinationUrl(java.lang.String destinationUrl)
Sets the destinationUrl value for this Criterion.

Parameters:
destinationUrl -

getExemptionRequest

public java.lang.String getExemptionRequest()
Gets the exemptionRequest value for this Criterion.

Returns:
exemptionRequest

setExemptionRequest

public void setExemptionRequest(java.lang.String exemptionRequest)
Sets the exemptionRequest value for this Criterion.

Parameters:
exemptionRequest -

getId

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

Returns:
id

setId

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

Parameters:
id -

getLanguage

public java.lang.String getLanguage()
Gets the language value for this Criterion.

Returns:
language

setLanguage

public void setLanguage(java.lang.String language)
Sets the language value for this Criterion.

Parameters:
language -

getNegative

public java.lang.Boolean getNegative()
Gets the negative value for this Criterion.

Returns:
negative

setNegative

public void setNegative(java.lang.Boolean negative)
Sets the negative value for this Criterion.

Parameters:
negative -

getPaused

public java.lang.Boolean getPaused()
Gets the paused value for this Criterion.

Returns:
paused

setPaused

public void setPaused(java.lang.Boolean paused)
Sets the paused value for this Criterion.

Parameters:
paused -

getStatus

public CriterionStatus getStatus()
Gets the status value for this Criterion.

Returns:
status

setStatus

public void setStatus(CriterionStatus status)
Sets the status value for this Criterion.

Parameters:
status -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

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


getSerializer

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


getDeserializer

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



Copyright © 2005 Google Corp. All Rights Reserved.