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, setPartnerKey
protected 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
List
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public ListAttributeFieldType getFieldType()
ListAttributeFieldType
public void setFieldType(ListAttributeFieldType value)
value
- allowed object is
ListAttributeFieldType
public Integer getFieldLength()
Integer
public void setFieldLength(Integer value)
value
- allowed object is
Integer
public Integer getScale()
Integer
public void setScale(Integer value)
value
- allowed object is
Integer
public String getMinValue()
String
public void setMinValue(String value)
value
- allowed object is
String
public String getMaxValue()
String
public void setMaxValue(String value)
value
- allowed object is
String
public String getDefaultValue()
String
public void setDefaultValue(String value)
value
- allowed object is
String
public Boolean getIsNullable()
Boolean
public void setIsNullable(Boolean value)
value
- allowed object is
Boolean
public Boolean getIsHidden()
Boolean
public void setIsHidden(Boolean value)
value
- allowed object is
Boolean
public Boolean getIsReadOnly()
Boolean
public void setIsReadOnly(Boolean value)
value
- allowed object is
Boolean
public Boolean getInheritable()
Boolean
public void setInheritable(Boolean value)
value
- allowed object is
Boolean
public Boolean getOverridable()
Boolean
public void setOverridable(Boolean value)
value
- allowed object is
Boolean
public Boolean getMustOverride()
Boolean
public void setMustOverride(Boolean value)
value
- allowed object is
Boolean
public OverrideType getOverrideType()
OverrideType
public void setOverrideType(OverrideType value)
value
- allowed object is
OverrideType
public Integer getOrdinal()
Integer
public void setOrdinal(Integer value)
value
- allowed object is
Integer
public 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()
ListAttribute
public void setBaseAttribute(ListAttribute value)
value
- allowed object is
ListAttribute
Copyright © 2017. All rights reserved.