
com.exacttarget.fuelsdk.internal.AttributeMap Maven / Gradle / Ivy
Show all versions of fuelsdk Show documentation
package com.exacttarget.fuelsdk.internal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;
/**
* Java class for AttributeMap complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AttributeMap">
* <complexContent>
* <extension base="{http://exacttarget.com/wsdl/partnerAPI}APIProperty">
* <sequence>
* <element name="EntityName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ColumnName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ColumnNameMappedTo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="EntityNameMappedTo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AdditionalData" type="{http://exacttarget.com/wsdl/partnerAPI}APIProperty" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AttributeMap", propOrder = {
"entityName",
"columnName",
"columnNameMappedTo",
"entityNameMappedTo",
"additionalData"
})
public class AttributeMap
extends APIProperty
{
@XmlElement(name = "EntityName")
protected String entityName;
@XmlElement(name = "ColumnName")
protected String columnName;
@XmlElement(name = "ColumnNameMappedTo")
protected String columnNameMappedTo;
@XmlElement(name = "EntityNameMappedTo")
protected String entityNameMappedTo;
@XmlElement(name = "AdditionalData")
protected List additionalData;
/**
* Gets the value of the entityName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityName() {
return entityName;
}
/**
* Sets the value of the entityName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityName(String value) {
this.entityName = value;
}
/**
* Gets the value of the columnName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColumnName() {
return columnName;
}
/**
* Sets the value of the columnName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColumnName(String value) {
this.columnName = value;
}
/**
* Gets the value of the columnNameMappedTo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColumnNameMappedTo() {
return columnNameMappedTo;
}
/**
* Sets the value of the columnNameMappedTo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColumnNameMappedTo(String value) {
this.columnNameMappedTo = value;
}
/**
* Gets the value of the entityNameMappedTo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityNameMappedTo() {
return entityNameMappedTo;
}
/**
* Sets the value of the entityNameMappedTo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityNameMappedTo(String value) {
this.entityNameMappedTo = value;
}
/**
* Gets the value of the additionalData property.
*
*
* 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 additionalData property.
*
*
* For example, to add a new item, do as follows:
*
* getAdditionalData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link APIProperty }
*
*
*/
public List getAdditionalData() {
if (additionalData == null) {
additionalData = new ArrayList();
}
return this.additionalData;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);
}
}