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

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

public class TemplateElement
extends Object
implements Serializable

Represents an element in a template. Each template element is composed of a list of fields (actual value data).

See Also:
Serialized Form

Constructor Summary
TemplateElement()
           
TemplateElement(String uniqueName, TemplateElementField[] fields)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 TemplateElementField[] getFields()
          Gets the fields value for this TemplateElement.
 TemplateElementField getFields(int i)
           
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
 String getUniqueName()
          Gets the uniqueName value for this TemplateElement.
 int hashCode()
           
 void setFields(int i, TemplateElementField _value)
           
 void setFields(TemplateElementField[] fields)
          Sets the fields value for this TemplateElement.
 void setUniqueName(String uniqueName)
          Sets the uniqueName value for this TemplateElement.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateElement

public TemplateElement()

TemplateElement

public TemplateElement(String uniqueName,
                       TemplateElementField[] fields)
Method Detail

getUniqueName

public String getUniqueName()
Gets the uniqueName value for this TemplateElement.

Returns:
uniqueName * Unique name for this element. This field can be selected using the value "UniqueName". This field is required and should not be null.

setUniqueName

public void setUniqueName(String uniqueName)
Sets the uniqueName value for this TemplateElement.

Parameters:
uniqueName - * Unique name for this element. This field can be selected using the value "UniqueName". This field is required and should not be null.

getFields

public TemplateElementField[] getFields()
Gets the fields value for this TemplateElement.

Returns:
fields * List of fields to use for this template element. These must be the same for all template ads in the same template ad union. This field is required and should not be null.

setFields

public void setFields(TemplateElementField[] fields)
Sets the fields value for this TemplateElement.

Parameters:
fields - * List of fields to use for this template element. These must be the same for all template ads in the same template ad union. This field is required and should not be null.

getFields

public TemplateElementField getFields(int i)

setFields

public void setFields(int i,
                      TemplateElementField _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.