public class ListAttribute extends APIObject
Java class for ListAttribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ListAttribute">
<complexContent>
<extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject">
<sequence>
<element name="List" type="{http://exacttarget.com/wsdl/partnerAPI}List" minOccurs="0"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="FieldType" type="{http://exacttarget.com/wsdl/partnerAPI}ListAttributeFieldType" minOccurs="0"/>
<element name="FieldLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="Scale" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="MinValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MaxValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="DefaultValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="IsNullable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="IsHidden" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="IsReadOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="Inheritable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="Overridable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="MustOverride" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="OverrideType" type="{http://exacttarget.com/wsdl/partnerAPI}OverrideType" minOccurs="0"/>
<element name="Ordinal" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="RestrictedValues" type="{http://exacttarget.com/wsdl/partnerAPI}ListAttributeRestrictedValue" maxOccurs="unbounded" minOccurs="0"/>
<element name="BaseAttribute" type="{http://exacttarget.com/wsdl/partnerAPI}ListAttribute" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ListAttribute |
baseAttribute |
protected String |
defaultValue |
protected String |
description |
protected Integer |
fieldLength |
protected ListAttributeFieldType |
fieldType |
protected Boolean |
inheritable |
protected Boolean |
isHidden |
protected Boolean |
isNullable |
protected Boolean |
isReadOnly |
protected List |
list |
protected String |
maxValue |
protected String |
minValue |
protected Boolean |
mustOverride |
protected String |
name |
protected Integer |
ordinal |
protected Boolean |
overridable |
protected OverrideType |
overrideType |
protected List<ListAttributeRestrictedValue> |
restrictedValues |
protected Integer |
scale |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties| Constructor and Description |
|---|
ListAttribute() |
| Modifier and Type | Method and Description |
|---|---|
ListAttribute |
getBaseAttribute()
Gets the value of the baseAttribute property.
|
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
String |
getDescription()
Gets the value of the description property.
|
Integer |
getFieldLength()
Gets the value of the fieldLength property.
|
ListAttributeFieldType |
getFieldType()
Gets the value of the fieldType property.
|
Boolean |
getInheritable()
Gets the value of the inheritable property.
|
Boolean |
getIsHidden()
Gets the value of the isHidden property.
|
Boolean |
getIsNullable()
Gets the value of the isNullable property.
|
Boolean |
getIsReadOnly()
Gets the value of the isReadOnly property.
|
List |
getList()
Gets the value of the list property.
|
String |
getMaxValue()
Gets the value of the maxValue property.
|
String |
getMinValue()
Gets the value of the minValue property.
|
Boolean |
getMustOverride()
Gets the value of the mustOverride property.
|
String |
getName()
Gets the value of the name property.
|
Integer |
getOrdinal()
Gets the value of the ordinal property.
|
Boolean |
getOverridable()
Gets the value of the overridable property.
|
OverrideType |
getOverrideType()
Gets the value of the overrideType property.
|
List<ListAttributeRestrictedValue> |
getRestrictedValues()
Gets the value of the restrictedValues property.
|
Integer |
getScale()
Gets the value of the scale property.
|
void |
setBaseAttribute(ListAttribute value)
Sets the value of the baseAttribute property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setFieldLength(Integer value)
Sets the value of the fieldLength property.
|
void |
setFieldType(ListAttributeFieldType value)
Sets the value of the fieldType property.
|
void |
setInheritable(Boolean value)
Sets the value of the inheritable property.
|
void |
setIsHidden(Boolean value)
Sets the value of the isHidden property.
|
void |
setIsNullable(Boolean value)
Sets the value of the isNullable property.
|
void |
setIsReadOnly(Boolean value)
Sets the value of the isReadOnly property.
|
void |
setList(List value)
Sets the value of the list property.
|
void |
setMaxValue(String value)
Sets the value of the maxValue property.
|
void |
setMinValue(String value)
Sets the value of the minValue property.
|
void |
setMustOverride(Boolean value)
Sets the value of the mustOverride property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOrdinal(Integer value)
Sets the value of the ordinal property.
|
void |
setOverridable(Boolean value)
Sets the value of the overridable property.
|
void |
setOverrideType(OverrideType value)
Sets the value of the overrideType property.
|
void |
setScale(Integer value)
Sets the value of the scale property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
getClient, getCorrelationID, getCreatedDate, getCustomerKey, getId, getModifiedDate, getObjectID, getObjectState, getOwner, getPartnerKey, getPartnerProperties, setClient, setCorrelationID, setCreatedDate, setCustomerKey, setId, setModifiedDate, setObjectID, setObjectState, setOwner, setPartnerKeyprotected List list
protected String name
protected String description
protected ListAttributeFieldType fieldType
protected Integer fieldLength
protected Integer scale
protected String minValue
protected String maxValue
protected String defaultValue
protected Boolean isNullable
protected Boolean isHidden
protected Boolean isReadOnly
protected Boolean inheritable
protected Boolean overridable
protected Boolean mustOverride
protected OverrideType overrideType
protected Integer ordinal
protected List<ListAttributeRestrictedValue> restrictedValues
protected ListAttribute baseAttribute
public void setList(List value)
value - allowed object is
Listpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic ListAttributeFieldType getFieldType()
ListAttributeFieldTypepublic void setFieldType(ListAttributeFieldType value)
value - allowed object is
ListAttributeFieldTypepublic Integer getFieldLength()
Integerpublic void setFieldLength(Integer value)
value - allowed object is
Integerpublic Integer getScale()
Integerpublic void setScale(Integer value)
value - allowed object is
Integerpublic String getMinValue()
Stringpublic void setMinValue(String value)
value - allowed object is
Stringpublic String getMaxValue()
Stringpublic void setMaxValue(String value)
value - allowed object is
Stringpublic String getDefaultValue()
Stringpublic void setDefaultValue(String value)
value - allowed object is
Stringpublic Boolean getIsNullable()
Booleanpublic void setIsNullable(Boolean value)
value - allowed object is
Booleanpublic Boolean getIsHidden()
Booleanpublic void setIsHidden(Boolean value)
value - allowed object is
Booleanpublic Boolean getIsReadOnly()
Booleanpublic void setIsReadOnly(Boolean value)
value - allowed object is
Booleanpublic Boolean getInheritable()
Booleanpublic void setInheritable(Boolean value)
value - allowed object is
Booleanpublic Boolean getOverridable()
Booleanpublic void setOverridable(Boolean value)
value - allowed object is
Booleanpublic Boolean getMustOverride()
Booleanpublic void setMustOverride(Boolean value)
value - allowed object is
Booleanpublic OverrideType getOverrideType()
OverrideTypepublic void setOverrideType(OverrideType value)
value - allowed object is
OverrideTypepublic Integer getOrdinal()
Integerpublic void setOrdinal(Integer value)
value - allowed object is
Integerpublic List<ListAttributeRestrictedValue> getRestrictedValues()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the restrictedValues property.
For example, to add a new item, do as follows:
getRestrictedValues().add(newItem);
Objects of the following type(s) are allowed in the list
ListAttributeRestrictedValue
public ListAttribute getBaseAttribute()
ListAttributepublic void setBaseAttribute(ListAttribute value)
value - allowed object is
ListAttributeCopyright © 2017. All rights reserved.