public class DataExtension extends APIObject
Java class for DataExtension complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DataExtension">
<complexContent>
<extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject">
<sequence>
<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="IsSendable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="IsTestable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="SendableDataExtensionField" type="{http://exacttarget.com/wsdl/partnerAPI}DataExtensionField" minOccurs="0"/>
<element name="SendableSubscriberField" type="{http://exacttarget.com/wsdl/partnerAPI}Attribute" minOccurs="0"/>
<element name="Template" type="{http://exacttarget.com/wsdl/partnerAPI}DataExtensionTemplate" minOccurs="0"/>
<element name="DataRetentionPeriodLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="DataRetentionPeriodUnitOfMeasure" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="RowBasedRetention" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="ResetRetentionPeriodOnImport" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="DeleteAtEndOfRetentionPeriod" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="RetainUntil" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Fields" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Field" type="{http://exacttarget.com/wsdl/partnerAPI}DataExtensionField" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="DataRetentionPeriod" type="{http://exacttarget.com/wsdl/partnerAPI}DateTimeUnitOfMeasure" minOccurs="0"/>
<element name="CategoryID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="Status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
DataExtension.Fields
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected Long |
categoryID |
protected DateTimeUnitOfMeasure |
dataRetentionPeriod |
protected Integer |
dataRetentionPeriodLength |
protected Integer |
dataRetentionPeriodUnitOfMeasure |
protected Boolean |
deleteAtEndOfRetentionPeriod |
protected String |
description |
protected DataExtension.Fields |
fields |
protected Boolean |
isSendable |
protected Boolean |
isTestable |
protected String |
name |
protected Boolean |
resetRetentionPeriodOnImport |
protected String |
retainUntil |
protected Boolean |
rowBasedRetention |
protected DataExtensionField |
sendableDataExtensionField |
protected Attribute |
sendableSubscriberField |
protected String |
status |
protected DataExtensionTemplate |
template |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties| Constructor and Description |
|---|
DataExtension() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCategoryID()
Gets the value of the categoryID property.
|
DateTimeUnitOfMeasure |
getDataRetentionPeriod()
Gets the value of the dataRetentionPeriod property.
|
Integer |
getDataRetentionPeriodLength()
Gets the value of the dataRetentionPeriodLength property.
|
Integer |
getDataRetentionPeriodUnitOfMeasure()
Gets the value of the dataRetentionPeriodUnitOfMeasure property.
|
Boolean |
getDeleteAtEndOfRetentionPeriod()
Gets the value of the deleteAtEndOfRetentionPeriod property.
|
String |
getDescription()
Gets the value of the description property.
|
DataExtension.Fields |
getFields()
Gets the value of the fields property.
|
Boolean |
getIsSendable()
Gets the value of the isSendable property.
|
Boolean |
getIsTestable()
Gets the value of the isTestable property.
|
String |
getName()
Gets the value of the name property.
|
Boolean |
getResetRetentionPeriodOnImport()
Gets the value of the resetRetentionPeriodOnImport property.
|
String |
getRetainUntil()
Gets the value of the retainUntil property.
|
Boolean |
getRowBasedRetention()
Gets the value of the rowBasedRetention property.
|
DataExtensionField |
getSendableDataExtensionField()
Gets the value of the sendableDataExtensionField property.
|
Attribute |
getSendableSubscriberField()
Gets the value of the sendableSubscriberField property.
|
String |
getStatus()
Gets the value of the status property.
|
DataExtensionTemplate |
getTemplate()
Gets the value of the template property.
|
void |
setCategoryID(Long value)
Sets the value of the categoryID property.
|
void |
setDataRetentionPeriod(DateTimeUnitOfMeasure value)
Sets the value of the dataRetentionPeriod property.
|
void |
setDataRetentionPeriodLength(Integer value)
Sets the value of the dataRetentionPeriodLength property.
|
void |
setDataRetentionPeriodUnitOfMeasure(Integer value)
Sets the value of the dataRetentionPeriodUnitOfMeasure property.
|
void |
setDeleteAtEndOfRetentionPeriod(Boolean value)
Sets the value of the deleteAtEndOfRetentionPeriod property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setFields(DataExtension.Fields value)
Sets the value of the fields property.
|
void |
setIsSendable(Boolean value)
Sets the value of the isSendable property.
|
void |
setIsTestable(Boolean value)
Sets the value of the isTestable property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setResetRetentionPeriodOnImport(Boolean value)
Sets the value of the resetRetentionPeriodOnImport property.
|
void |
setRetainUntil(String value)
Sets the value of the retainUntil property.
|
void |
setRowBasedRetention(Boolean value)
Sets the value of the rowBasedRetention property.
|
void |
setSendableDataExtensionField(DataExtensionField value)
Sets the value of the sendableDataExtensionField property.
|
void |
setSendableSubscriberField(Attribute value)
Sets the value of the sendableSubscriberField property.
|
void |
setStatus(String value)
Sets the value of the status property.
|
void |
setTemplate(DataExtensionTemplate value)
Sets the value of the template 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 String name
protected String description
protected Boolean isSendable
protected Boolean isTestable
protected DataExtensionField sendableDataExtensionField
protected Attribute sendableSubscriberField
protected DataExtensionTemplate template
protected Integer dataRetentionPeriodLength
protected Integer dataRetentionPeriodUnitOfMeasure
protected Boolean rowBasedRetention
protected Boolean resetRetentionPeriodOnImport
protected Boolean deleteAtEndOfRetentionPeriod
protected String retainUntil
protected DataExtension.Fields fields
protected DateTimeUnitOfMeasure dataRetentionPeriod
protected Long categoryID
protected String status
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Boolean getIsSendable()
Booleanpublic void setIsSendable(Boolean value)
value - allowed object is
Booleanpublic Boolean getIsTestable()
Booleanpublic void setIsTestable(Boolean value)
value - allowed object is
Booleanpublic DataExtensionField getSendableDataExtensionField()
DataExtensionFieldpublic void setSendableDataExtensionField(DataExtensionField value)
value - allowed object is
DataExtensionFieldpublic Attribute getSendableSubscriberField()
Attributepublic void setSendableSubscriberField(Attribute value)
value - allowed object is
Attributepublic DataExtensionTemplate getTemplate()
DataExtensionTemplatepublic void setTemplate(DataExtensionTemplate value)
value - allowed object is
DataExtensionTemplatepublic Integer getDataRetentionPeriodLength()
Integerpublic void setDataRetentionPeriodLength(Integer value)
value - allowed object is
Integerpublic Integer getDataRetentionPeriodUnitOfMeasure()
Integerpublic void setDataRetentionPeriodUnitOfMeasure(Integer value)
value - allowed object is
Integerpublic Boolean getRowBasedRetention()
Booleanpublic void setRowBasedRetention(Boolean value)
value - allowed object is
Booleanpublic Boolean getResetRetentionPeriodOnImport()
Booleanpublic void setResetRetentionPeriodOnImport(Boolean value)
value - allowed object is
Booleanpublic Boolean getDeleteAtEndOfRetentionPeriod()
Booleanpublic void setDeleteAtEndOfRetentionPeriod(Boolean value)
value - allowed object is
Booleanpublic String getRetainUntil()
Stringpublic void setRetainUntil(String value)
value - allowed object is
Stringpublic DataExtension.Fields getFields()
DataExtension.Fieldspublic void setFields(DataExtension.Fields value)
value - allowed object is
DataExtension.Fieldspublic DateTimeUnitOfMeasure getDataRetentionPeriod()
DateTimeUnitOfMeasurepublic void setDataRetentionPeriod(DateTimeUnitOfMeasure value)
value - allowed object is
DateTimeUnitOfMeasurepublic Long getCategoryID()
Longpublic void setCategoryID(Long value)
value - allowed object is
Longpublic String getStatus()
Stringpublic void setStatus(String value)
value - allowed object is
StringCopyright © 2017. All rights reserved.