com.sforce.soap.tooling.metadata.Container 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 Container complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Container">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="height" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="isContainerAutoSizeEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="region" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="sidebarComponents" type="{urn:metadata.tooling.soap.sforce.com}SidebarComponent" maxOccurs="unbounded" minOccurs="0"/>
* <element name="style" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="unit" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="width" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Container", propOrder = {
"height",
"isContainerAutoSizeEnabled",
"region",
"sidebarComponents",
"style",
"unit",
"width"
})
public class Container {
protected Integer height;
protected boolean isContainerAutoSizeEnabled;
@XmlElement(required = true)
protected String region;
protected List sidebarComponents;
@XmlElement(required = true)
protected String style;
@XmlElement(required = true)
protected String unit;
protected Integer width;
/**
* 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 isContainerAutoSizeEnabled property.
*
*/
public boolean isIsContainerAutoSizeEnabled() {
return isContainerAutoSizeEnabled;
}
/**
* Sets the value of the isContainerAutoSizeEnabled property.
*
*/
public void setIsContainerAutoSizeEnabled(boolean value) {
this.isContainerAutoSizeEnabled = value;
}
/**
* Gets the value of the region property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRegion() {
return region;
}
/**
* Sets the value of the region property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRegion(String value) {
this.region = value;
}
/**
* Gets the value of the sidebarComponents 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 sidebarComponents property.
*
*
* For example, to add a new item, do as follows:
*
* getSidebarComponents().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SidebarComponent }
*
*
*/
public List getSidebarComponents() {
if (sidebarComponents == null) {
sidebarComponents = new ArrayList();
}
return this.sidebarComponents;
}
/**
* Gets the value of the style property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStyle() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStyle(String value) {
this.style = value;
}
/**
* 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;
}
}