com.sforce.soap.partner.DescribeTab Maven / Gradle / Ivy
package com.sforce.soap.partner;
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;
/**
* Java class for DescribeTab complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DescribeTab">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="colors" type="{urn:partner.soap.sforce.com}DescribeColor" maxOccurs="unbounded" minOccurs="0"/>
* <element name="custom" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="iconUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="icons" type="{urn:partner.soap.sforce.com}DescribeIcon" maxOccurs="unbounded" minOccurs="0"/>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="miniIconUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="sobjectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DescribeTab", propOrder = {
"colors",
"custom",
"iconUrl",
"icons",
"label",
"miniIconUrl",
"name",
"sobjectName",
"url"
})
public class DescribeTab {
protected List colors;
protected boolean custom;
@XmlElement(required = true)
protected String iconUrl;
protected List icons;
@XmlElement(required = true)
protected String label;
@XmlElement(required = true)
protected String miniIconUrl;
@XmlElement(required = true)
protected String name;
@XmlElement(required = true, nillable = true)
protected String sobjectName;
@XmlElement(required = true)
protected String url;
/**
* Gets the value of the colors 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 colors property.
*
*
* For example, to add a new item, do as follows:
*
* getColors().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DescribeColor }
*
*
*/
public List getColors() {
if (colors == null) {
colors = new ArrayList();
}
return this.colors;
}
/**
* Gets the value of the custom property.
*
*/
public boolean isCustom() {
return custom;
}
/**
* Sets the value of the custom property.
*
*/
public void setCustom(boolean value) {
this.custom = value;
}
/**
* Gets the value of the iconUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIconUrl() {
return iconUrl;
}
/**
* Sets the value of the iconUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIconUrl(String value) {
this.iconUrl = value;
}
/**
* Gets the value of the icons 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 icons property.
*
*
* For example, to add a new item, do as follows:
*
* getIcons().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DescribeIcon }
*
*
*/
public List getIcons() {
if (icons == null) {
icons = new ArrayList();
}
return this.icons;
}
/**
* 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 miniIconUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMiniIconUrl() {
return miniIconUrl;
}
/**
* Sets the value of the miniIconUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMiniIconUrl(String value) {
this.miniIconUrl = value;
}
/**
* 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 sobjectName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSobjectName() {
return sobjectName;
}
/**
* Sets the value of the sobjectName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSobjectName(String value) {
this.sobjectName = value;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
}