com.google.api.ads.dfp.axis.v201204
Class DropDownCustomField

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201204.CustomField
      extended by com.google.api.ads.dfp.axis.v201204.DropDownCustomField
All Implemented Interfaces:
Serializable

public class DropDownCustomField
extends CustomField
implements Serializable

A custom field that has the drop-down data type.

See Also:
Serialized Form

Constructor Summary
DropDownCustomField()
           
DropDownCustomField(Long id, String name, String description, Boolean isActive, CustomFieldEntityType entityType, CustomFieldDataType dataType, CustomFieldVisibility visibility, String customFieldType, CustomFieldOption[] options)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 CustomFieldOption[] getOptions()
          Gets the options value for this DropDownCustomField.
 CustomFieldOption getOptions(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
 int hashCode()
           
 void setOptions(CustomFieldOption[] options)
          Sets the options value for this DropDownCustomField.
 void setOptions(int i, CustomFieldOption _value)
           
 
Methods inherited from class com.google.api.ads.dfp.axis.v201204.CustomField
getCustomFieldType, getDataType, getDescription, getEntityType, getId, getIsActive, getName, getVisibility, setCustomFieldType, setDataType, setDescription, setEntityType, setId, setIsActive, setName, setVisibility
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropDownCustomField

public DropDownCustomField()

DropDownCustomField

public DropDownCustomField(Long id,
                           String name,
                           String description,
                           Boolean isActive,
                           CustomFieldEntityType entityType,
                           CustomFieldDataType dataType,
                           CustomFieldVisibility visibility,
                           String customFieldType,
                           CustomFieldOption[] options)
Method Detail

getOptions

public CustomFieldOption[] getOptions()
Gets the options value for this DropDownCustomField.

Returns:
options * The options allowed for this custom field. This is read only.

setOptions

public void setOptions(CustomFieldOption[] options)
Sets the options value for this DropDownCustomField.

Parameters:
options - * The options allowed for this custom field. This is read only.

getOptions

public CustomFieldOption getOptions(int i)

setOptions

public void setOptions(int i,
                       CustomFieldOption _value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class CustomField

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 © 2012. All Rights Reserved.