com.sforce.soap.tooling.metadata.SidebarComponent Maven / Gradle / Ivy
Show all versions of sforce-tooling-api Show documentation
package com.sforce.soap.tooling.metadata;
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 SidebarComponent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SidebarComponent">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="componentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="height" 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="lookup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="page" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="relatedLists" type="{urn:metadata.tooling.soap.sforce.com}RelatedList" maxOccurs="unbounded" minOccurs="0"/>
* <element name="unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="width" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SidebarComponent", propOrder = {
"componentType",
"height",
"label",
"lookup",
"page",
"relatedLists",
"unit",
"width"
})
public class SidebarComponent {
@XmlElement(required = true)
protected String componentType;
protected Integer height;
protected String label;
protected String lookup;
protected String page;
protected List relatedLists;
protected String unit;
protected Integer width;
/**
* Gets the value of the componentType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComponentType() {
return componentType;
}
/**
* Sets the value of the componentType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComponentType(String value) {
this.componentType = value;
}
/**
* Gets the value of the height property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setHeight(Integer value) {
this.height = 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 lookup property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLookup() {
return lookup;
}
/**
* Sets the value of the lookup property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLookup(String value) {
this.lookup = value;
}
/**
* Gets the value of the page property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPage() {
return page;
}
/**
* Sets the value of the page property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPage(String value) {
this.page = value;
}
/**
* Gets the value of the relatedLists 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 relatedLists property.
*
*
* For example, to add a new item, do as follows:
*
* getRelatedLists().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RelatedList }
*
*
*/
public List getRelatedLists() {
if (relatedLists == null) {
relatedLists = new ArrayList();
}
return this.relatedLists;
}
/**
* Gets the value of the unit property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnit() {
return unit;
}
/**
* Sets the value of the unit property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnit(String value) {
this.unit = value;
}
/**
* Gets the value of the width property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setWidth(Integer value) {
this.width = value;
}
}