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

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

public class Language
extends Criterion
implements Serializable

Represents a Language criterion.

A criterion of this type can only be created using an ID. A criterion of this type is only targetable.

See Also:
Serialized Form

Constructor Summary
Language()
           
Language(Long id, CriterionType type, String criterionType, String code, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCode()
          Gets the code value for this Language.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getName()
          Gets the name value for this Language.
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 setCode(String code)
          Sets the code value for this Language.
 void setName(String name)
          Sets the name value for this Language.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.Criterion
getCriterionType, getId, getType, setCriterionType, setId, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Language

public Language()

Language

public Language(Long id,
                CriterionType type,
                String criterionType,
                String code,
                String name)
Method Detail

getCode

public String getCode()
Gets the code value for this Language.

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

setCode

public void setCode(String code)
Sets the code value for this Language.

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

getName

public String getName()
Gets the name value for this Language.

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

setName

public void setName(String name)
Sets the name value for this Language.

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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Criterion

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.