All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.exacttarget.fuelsdk.internal.PropertyDefinition Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;


/**
 * 

Java class for PropertyDefinition complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="PropertyDefinition">
 *   <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="DataType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ValueType" type="{http://exacttarget.com/wsdl/partnerAPI}SoapType" minOccurs="0"/>
 *         <element name="PropertyType" type="{http://exacttarget.com/wsdl/partnerAPI}PropertyType" minOccurs="0"/>
 *         <element name="IsCreatable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsUpdatable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsRetrievable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsQueryable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsFilterable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsPartnerProperty" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsAccountProperty" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="PartnerMap" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="AttributeMaps" type="{http://exacttarget.com/wsdl/partnerAPI}AttributeMap" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Markups" type="{http://exacttarget.com/wsdl/partnerAPI}APIProperty" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Precision" 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="Label" 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="DefaultValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="MinLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="MaxLength" 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="IsRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsViewable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsEditable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsNillable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsRestrictedPicklist" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="PicklistItems" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="PicklistItem" type="{http://exacttarget.com/wsdl/partnerAPI}PicklistItem" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="IsSendTime" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="DisplayOrder" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="References" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Reference" type="{http://exacttarget.com/wsdl/partnerAPI}APIObject" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="RelationshipName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="IsContextSpecific" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PropertyDefinition", propOrder = { "name", "dataType", "valueType", "propertyType", "isCreatable", "isUpdatable", "isRetrievable", "isQueryable", "isFilterable", "isPartnerProperty", "isAccountProperty", "partnerMap", "attributeMaps", "markups", "precision", "scale", "label", "description", "defaultValue", "minLength", "maxLength", "minValue", "maxValue", "isRequired", "isViewable", "isEditable", "isNillable", "isRestrictedPicklist", "picklistItems", "isSendTime", "displayOrder", "references", "relationshipName", "status", "isContextSpecific" }) @XmlSeeAlso({ DataExtensionField.class }) public class PropertyDefinition extends APIObject { @XmlElement(name = "Name") protected String name; @XmlElement(name = "DataType") protected String dataType; @XmlElement(name = "ValueType") @XmlSchemaType(name = "string") protected SoapType valueType; @XmlElement(name = "PropertyType") @XmlSchemaType(name = "string") protected PropertyType propertyType; @XmlElement(name = "IsCreatable") protected Boolean isCreatable; @XmlElement(name = "IsUpdatable") protected Boolean isUpdatable; @XmlElement(name = "IsRetrievable") protected Boolean isRetrievable; @XmlElement(name = "IsQueryable") protected Boolean isQueryable; @XmlElement(name = "IsFilterable") protected Boolean isFilterable; @XmlElement(name = "IsPartnerProperty") protected Boolean isPartnerProperty; @XmlElement(name = "IsAccountProperty") protected Boolean isAccountProperty; @XmlElement(name = "PartnerMap") protected String partnerMap; @XmlElement(name = "AttributeMaps") protected List attributeMaps; @XmlElement(name = "Markups") protected List markups; @XmlElement(name = "Precision") protected Integer precision; @XmlElement(name = "Scale") protected Integer scale; @XmlElement(name = "Label") protected String label; @XmlElement(name = "Description") protected String description; @XmlElement(name = "DefaultValue") protected String defaultValue; @XmlElement(name = "MinLength") protected Integer minLength; @XmlElement(name = "MaxLength") protected Integer maxLength; @XmlElement(name = "MinValue") protected String minValue; @XmlElement(name = "MaxValue") protected String maxValue; @XmlElement(name = "IsRequired") protected Boolean isRequired; @XmlElement(name = "IsViewable") protected Boolean isViewable; @XmlElement(name = "IsEditable") protected Boolean isEditable; @XmlElement(name = "IsNillable") protected Boolean isNillable; @XmlElement(name = "IsRestrictedPicklist") protected Boolean isRestrictedPicklist; @XmlElement(name = "PicklistItems") protected PropertyDefinition.PicklistItems picklistItems; @XmlElement(name = "IsSendTime") protected Boolean isSendTime; @XmlElement(name = "DisplayOrder") protected Integer displayOrder; @XmlElement(name = "References") protected PropertyDefinition.References references; @XmlElement(name = "RelationshipName") protected String relationshipName; @XmlElement(name = "Status") protected String status; @XmlElement(name = "IsContextSpecific") protected Boolean isContextSpecific; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the dataType property. * * @return * possible object is * {@link String } * */ public String getDataType() { return dataType; } /** * Sets the value of the dataType property. * * @param value * allowed object is * {@link String } * */ public void setDataType(String value) { this.dataType = value; } /** * Gets the value of the valueType property. * * @return * possible object is * {@link SoapType } * */ public SoapType getValueType() { return valueType; } /** * Sets the value of the valueType property. * * @param value * allowed object is * {@link SoapType } * */ public void setValueType(SoapType value) { this.valueType = value; } /** * Gets the value of the propertyType property. * * @return * possible object is * {@link PropertyType } * */ public PropertyType getPropertyType() { return propertyType; } /** * Sets the value of the propertyType property. * * @param value * allowed object is * {@link PropertyType } * */ public void setPropertyType(PropertyType value) { this.propertyType = value; } /** * Gets the value of the isCreatable property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsCreatable() { return isCreatable; } /** * Sets the value of the isCreatable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsCreatable(Boolean value) { this.isCreatable = value; } /** * Gets the value of the isUpdatable property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsUpdatable() { return isUpdatable; } /** * Sets the value of the isUpdatable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsUpdatable(Boolean value) { this.isUpdatable = value; } /** * Gets the value of the isRetrievable property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsRetrievable() { return isRetrievable; } /** * Sets the value of the isRetrievable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsRetrievable(Boolean value) { this.isRetrievable = value; } /** * Gets the value of the isQueryable property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsQueryable() { return isQueryable; } /** * Sets the value of the isQueryable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsQueryable(Boolean value) { this.isQueryable = value; } /** * Gets the value of the isFilterable property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsFilterable() { return isFilterable; } /** * Sets the value of the isFilterable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsFilterable(Boolean value) { this.isFilterable = value; } /** * Gets the value of the isPartnerProperty property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsPartnerProperty() { return isPartnerProperty; } /** * Sets the value of the isPartnerProperty property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsPartnerProperty(Boolean value) { this.isPartnerProperty = value; } /** * Gets the value of the isAccountProperty property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsAccountProperty() { return isAccountProperty; } /** * Sets the value of the isAccountProperty property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsAccountProperty(Boolean value) { this.isAccountProperty = value; } /** * Gets the value of the partnerMap property. * * @return * possible object is * {@link String } * */ public String getPartnerMap() { return partnerMap; } /** * Sets the value of the partnerMap property. * * @param value * allowed object is * {@link String } * */ public void setPartnerMap(String value) { this.partnerMap = value; } /** * Gets the value of the attributeMaps 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 attributeMaps property. * *

* For example, to add a new item, do as follows: *

     *    getAttributeMaps().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AttributeMap } * * */ public List getAttributeMaps() { if (attributeMaps == null) { attributeMaps = new ArrayList(); } return this.attributeMaps; } /** * Gets the value of the markups 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 markups property. * *

* For example, to add a new item, do as follows: *

     *    getMarkups().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link APIProperty } * * */ public List getMarkups() { if (markups == null) { markups = new ArrayList(); } return this.markups; } /** * Gets the value of the precision property. * * @return * possible object is * {@link Integer } * */ public Integer getPrecision() { return precision; } /** * Sets the value of the precision property. * * @param value * allowed object is * {@link Integer } * */ public void setPrecision(Integer value) { this.precision = value; } /** * Gets the value of the scale property. * * @return * possible object is * {@link Integer } * */ public Integer getScale() { return scale; } /** * Sets the value of the scale property. * * @param value * allowed object is * {@link Integer } * */ public void setScale(Integer value) { this.scale = value; } /** * Gets the value of the label property. * * @return * possible object is * {@link String } * */ public String getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link String } * */ public void setLabel(String value) { this.label = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the defaultValue property. * * @return * possible object is * {@link String } * */ public String getDefaultValue() { return defaultValue; } /** * Sets the value of the defaultValue property. * * @param value * allowed object is * {@link String } * */ public void setDefaultValue(String value) { this.defaultValue = value; } /** * Gets the value of the minLength property. * * @return * possible object is * {@link Integer } * */ public Integer getMinLength() { return minLength; } /** * Sets the value of the minLength property. * * @param value * allowed object is * {@link Integer } * */ public void setMinLength(Integer value) { this.minLength = value; } /** * Gets the value of the maxLength property. * * @return * possible object is * {@link Integer } * */ public Integer getMaxLength() { return maxLength; } /** * Sets the value of the maxLength property. * * @param value * allowed object is * {@link Integer } * */ public void setMaxLength(Integer value) { this.maxLength = value; } /** * Gets the value of the minValue property. * * @return * possible object is * {@link String } * */ public String getMinValue() { return minValue; } /** * Sets the value of the minValue property. * * @param value * allowed object is * {@link String } * */ public void setMinValue(String value) { this.minValue = value; } /** * Gets the value of the maxValue property. * * @return * possible object is * {@link String } * */ public String getMaxValue() { return maxValue; } /** * Sets the value of the maxValue property. * * @param value * allowed object is * {@link String } * */ public void setMaxValue(String value) { this.maxValue = value; } /** * Gets the value of the isRequired property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsRequired() { return isRequired; } /** * Sets the value of the isRequired property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsRequired(Boolean value) { this.isRequired = value; } /** * Gets the value of the isViewable property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsViewable() { return isViewable; } /** * Sets the value of the isViewable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsViewable(Boolean value) { this.isViewable = value; } /** * Gets the value of the isEditable property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsEditable() { return isEditable; } /** * Sets the value of the isEditable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsEditable(Boolean value) { this.isEditable = value; } /** * Gets the value of the isNillable property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsNillable() { return isNillable; } /** * Sets the value of the isNillable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsNillable(Boolean value) { this.isNillable = value; } /** * Gets the value of the isRestrictedPicklist property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsRestrictedPicklist() { return isRestrictedPicklist; } /** * Sets the value of the isRestrictedPicklist property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsRestrictedPicklist(Boolean value) { this.isRestrictedPicklist = value; } /** * Gets the value of the picklistItems property. * * @return * possible object is * {@link PropertyDefinition.PicklistItems } * */ public PropertyDefinition.PicklistItems getPicklistItems() { return picklistItems; } /** * Sets the value of the picklistItems property. * * @param value * allowed object is * {@link PropertyDefinition.PicklistItems } * */ public void setPicklistItems(PropertyDefinition.PicklistItems value) { this.picklistItems = value; } /** * Gets the value of the isSendTime property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsSendTime() { return isSendTime; } /** * Sets the value of the isSendTime property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsSendTime(Boolean value) { this.isSendTime = value; } /** * Gets the value of the displayOrder property. * * @return * possible object is * {@link Integer } * */ public Integer getDisplayOrder() { return displayOrder; } /** * Sets the value of the displayOrder property. * * @param value * allowed object is * {@link Integer } * */ public void setDisplayOrder(Integer value) { this.displayOrder = value; } /** * Gets the value of the references property. * * @return * possible object is * {@link PropertyDefinition.References } * */ public PropertyDefinition.References getReferences() { return references; } /** * Sets the value of the references property. * * @param value * allowed object is * {@link PropertyDefinition.References } * */ public void setReferences(PropertyDefinition.References value) { this.references = value; } /** * Gets the value of the relationshipName property. * * @return * possible object is * {@link String } * */ public String getRelationshipName() { return relationshipName; } /** * Sets the value of the relationshipName property. * * @param value * allowed object is * {@link String } * */ public void setRelationshipName(String value) { this.relationshipName = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link String } * */ public String getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link String } * */ public void setStatus(String value) { this.status = value; } /** * Gets the value of the isContextSpecific property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsContextSpecific() { return isContextSpecific; } /** * Sets the value of the isContextSpecific property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsContextSpecific(Boolean value) { this.isContextSpecific = value; } /** * 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); } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="PicklistItem" type="{http://exacttarget.com/wsdl/partnerAPI}PicklistItem" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "picklistItem" }) public static class PicklistItems { @XmlElement(name = "PicklistItem") protected List picklistItem; /** * Gets the value of the picklistItem 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 picklistItem property. * *

* For example, to add a new item, do as follows: *

         *    getPicklistItem().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PicklistItem } * * */ public List getPicklistItem() { if (picklistItem == null) { picklistItem = new ArrayList(); } return this.picklistItem; } /** * 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); } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="Reference" type="{http://exacttarget.com/wsdl/partnerAPI}APIObject" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "reference" }) public static class References { @XmlElement(name = "Reference") protected List reference; /** * Gets the value of the reference 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 reference property. * *

* For example, to add a new item, do as follows: *

         *    getReference().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link APIObject } * * */ public List getReference() { if (reference == null) { reference = new ArrayList(); } return this.reference; } /** * 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); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy