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

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

public class EntityId
extends Object
implements Serializable

A qualified long-valued identity that can identify different types of AdWords entities such as campaigns and ad-groups.

See Also:
Serialized Form

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

Constructor Detail

EntityId

public EntityId()

EntityId

public EntityId(EntityIdType type,
                Long value)
Method Detail

getType

public EntityIdType getType()
Gets the type value for this EntityId.

Returns:
type * Entity id type.

setType

public void setType(EntityIdType type)
Sets the type value for this EntityId.

Parameters:
type - * Entity id type.

getValue

public Long getValue()
Gets the value value for this EntityId.

Returns:
value * Entity id value.

setValue

public void setValue(Long value)
Sets the value value for this EntityId.

Parameters:
value - * Entity id value.

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.