
com.palominolabs.crm.sf.soap.jaxwsstub.metadata.LayoutTranslation Maven / Gradle / Ivy
package com.palominolabs.crm.sf.soap.jaxwsstub.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 LayoutTranslation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LayoutTranslation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="layout" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="layoutType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="sections" type="{http://soap.sforce.com/2006/04/metadata}LayoutSectionTranslation" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LayoutTranslation", propOrder = {
"layout",
"layoutType",
"sections"
})
public class LayoutTranslation {
@XmlElement(required = true)
protected String layout;
protected String layoutType;
protected List sections;
/**
* Gets the value of the layout property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLayout() {
return layout;
}
/**
* Sets the value of the layout property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLayout(String value) {
this.layout = value;
}
/**
* Gets the value of the layoutType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLayoutType() {
return layoutType;
}
/**
* Sets the value of the layoutType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLayoutType(String value) {
this.layoutType = value;
}
/**
* Gets the value of the sections 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 sections property.
*
*
* For example, to add a new item, do as follows:
*
* getSections().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LayoutSectionTranslation }
*
*
*/
public List getSections() {
if (sections == null) {
sections = new ArrayList();
}
return this.sections;
}
}