public class ListStringCreativeTemplateVariable extends StringCreativeTemplateVariable implements Serializable
StringCreativeTemplateVariable, except that there
are possible choices to
choose from.
Use StringCreativeTemplateVariableValue to specify
the value
for this variable when creating TemplateCreative
from the TemplateCreative.
| Constructor and Description |
|---|
ListStringCreativeTemplateVariable() |
ListStringCreativeTemplateVariable(String label,
String uniqueName,
String description,
Boolean isRequired,
String creativeTemplateVariableType,
String defaultValue,
ListStringCreativeTemplateVariableVariableChoice[] choices,
Boolean allowOtherChoice) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAllowOtherChoice()
Gets the allowOtherChoice value for this ListStringCreativeTemplateVariable.
|
ListStringCreativeTemplateVariableVariableChoice[] |
getChoices()
Gets the choices value for this ListStringCreativeTemplateVariable.
|
ListStringCreativeTemplateVariableVariableChoice |
getChoices(int i) |
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
|
int |
hashCode() |
void |
setAllowOtherChoice(Boolean allowOtherChoice)
Sets the allowOtherChoice value for this ListStringCreativeTemplateVariable.
|
void |
setChoices(int i,
ListStringCreativeTemplateVariableVariableChoice _value) |
void |
setChoices(ListStringCreativeTemplateVariableVariableChoice[] choices)
Sets the choices value for this ListStringCreativeTemplateVariable.
|
getDefaultValue, setDefaultValuegetCreativeTemplateVariableType, getDescription, getIsRequired, getLabel, getUniqueName, setCreativeTemplateVariableType, setDescription, setIsRequired, setLabel, setUniqueNamepublic ListStringCreativeTemplateVariableVariableChoice[] getChoices()
public void setChoices(ListStringCreativeTemplateVariableVariableChoice[] choices)
choices - * The values within the list users need to select from.public ListStringCreativeTemplateVariableVariableChoice getChoices(int i)
public void setChoices(int i,
ListStringCreativeTemplateVariableVariableChoice _value)
public Boolean getAllowOtherChoice()
true if a user can specifiy an 'other' value.
For example, if a variable called backgroundColor
is defined as a list
with values: red, green, blue, this boolean can
be set to allow a user
to enter a value not on the list such as purple.public void setAllowOtherChoice(Boolean allowOtherChoice)
allowOtherChoice - * true if a user can specifiy an 'other' value.
For example, if a variable called backgroundColor
is defined as a list
with values: red, green, blue, this boolean can
be set to allow a user
to enter a value not on the list such as purple.public boolean equals(Object obj)
equals in class StringCreativeTemplateVariablepublic int hashCode()
hashCode in class StringCreativeTemplateVariablepublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2014. All Rights Reserved.