com.google.api.ads.dfp.axis.v201206
Class CustomFieldValue

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201206.BaseCustomFieldValue
      extended by com.google.api.ads.dfp.axis.v201206.CustomFieldValue
All Implemented Interfaces:
Serializable

public class CustomFieldValue
extends BaseCustomFieldValue
implements Serializable

The value of a CustomField that does not have a CustomField.dataType of CustomFieldDataType.DROP_DOWN.

See Also:
Serialized Form

Constructor Summary
CustomFieldValue()
           
CustomFieldValue(Long customFieldId, String baseCustomFieldValueType, Value 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
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 Value getValue()
          Gets the value value for this CustomFieldValue.
 int hashCode()
           
 void setValue(Value value)
          Sets the value value for this CustomFieldValue.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201206.BaseCustomFieldValue
getBaseCustomFieldValueType, getCustomFieldId, setBaseCustomFieldValueType, setCustomFieldId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFieldValue

public CustomFieldValue()

CustomFieldValue

public CustomFieldValue(Long customFieldId,
                        String baseCustomFieldValueType,
                        Value value)
Method Detail

getValue

public Value getValue()
Gets the value value for this CustomFieldValue.

Returns:
value * The value for this field. The appropriate type of Value is determined by the CustomField#dataType of the CustomField that this conforms to.
CustomFieldDataTypeValue type
STRINGTextValue
NUMBERNumberValue
TOGGLEBooleanValue

setValue

public void setValue(Value value)
Sets the value value for this CustomFieldValue.

Parameters:
value - * The value for this field. The appropriate type of Value is determined by the CustomField#dataType of the CustomField that this conforms to.
CustomFieldDataTypeValue type
STRINGTextValue
NUMBERNumberValue
TOGGLEBooleanValue

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class BaseCustomFieldValue

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.