com.sforce.soap.tooling.DescribeSObjectResult Maven / Gradle / Ivy
Show all versions of sforce-tooling-api Show documentation
package com.sforce.soap.tooling;
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 DescribeSObjectResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DescribeSObjectResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="actionOverrides" type="{urn:tooling.soap.sforce.com}ActionOverride" maxOccurs="unbounded" minOccurs="0"/>
* <element name="activateable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="childRelationships" type="{urn:tooling.soap.sforce.com}ChildRelationship" maxOccurs="unbounded" minOccurs="0"/>
* <element name="createable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="custom" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="customSetting" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="deletable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="deprecatedAndHidden" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="feedEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="fields" type="{urn:tooling.soap.sforce.com}Field" maxOccurs="unbounded" minOccurs="0"/>
* <element name="keyPrefix" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="labelPlural" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="layoutable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="listviewable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="lookupLayoutable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="mergeable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="namedLayoutInfos" type="{urn:tooling.soap.sforce.com}NamedLayoutInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="queryable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="recordTypeInfos" type="{urn:tooling.soap.sforce.com}RecordTypeInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="replicateable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="retrieveable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="searchLayoutable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="searchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="supportedScopes" type="{urn:tooling.soap.sforce.com}ScopeInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="triggerable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="undeletable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="updateable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DescribeSObjectResult", propOrder = {
"actionOverrides",
"activateable",
"childRelationships",
"createable",
"custom",
"customSetting",
"deletable",
"deprecatedAndHidden",
"feedEnabled",
"fields",
"keyPrefix",
"label",
"labelPlural",
"layoutable",
"listviewable",
"lookupLayoutable",
"mergeable",
"name",
"namedLayoutInfos",
"queryable",
"recordTypeInfos",
"replicateable",
"retrieveable",
"searchLayoutable",
"searchable",
"supportedScopes",
"triggerable",
"undeletable",
"updateable"
})
public class DescribeSObjectResult {
protected List actionOverrides;
protected boolean activateable;
protected List childRelationships;
protected boolean createable;
protected boolean custom;
protected boolean customSetting;
protected boolean deletable;
protected boolean deprecatedAndHidden;
protected boolean feedEnabled;
protected List fields;
@XmlElement(required = true)
protected String keyPrefix;
@XmlElement(required = true)
protected String label;
@XmlElement(required = true)
protected String labelPlural;
protected boolean layoutable;
protected Boolean listviewable;
protected Boolean lookupLayoutable;
protected boolean mergeable;
@XmlElement(required = true)
protected String name;
protected List namedLayoutInfos;
protected boolean queryable;
protected List recordTypeInfos;
protected boolean replicateable;
protected boolean retrieveable;
protected Boolean searchLayoutable;
protected boolean searchable;
protected List supportedScopes;
protected Boolean triggerable;
protected boolean undeletable;
protected boolean updateable;
/**
* Gets the value of the actionOverrides 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 actionOverrides property.
*
*
* For example, to add a new item, do as follows:
*
* getActionOverrides().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActionOverride }
*
*
*/
public List getActionOverrides() {
if (actionOverrides == null) {
actionOverrides = new ArrayList();
}
return this.actionOverrides;
}
/**
* Gets the value of the activateable property.
*
*/
public boolean isActivateable() {
return activateable;
}
/**
* Sets the value of the activateable property.
*
*/
public void setActivateable(boolean value) {
this.activateable = value;
}
/**
* Gets the value of the childRelationships 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 childRelationships property.
*
*
* For example, to add a new item, do as follows:
*
* getChildRelationships().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ChildRelationship }
*
*
*/
public List getChildRelationships() {
if (childRelationships == null) {
childRelationships = new ArrayList();
}
return this.childRelationships;
}
/**
* Gets the value of the createable property.
*
*/
public boolean isCreateable() {
return createable;
}
/**
* Sets the value of the createable property.
*
*/
public void setCreateable(boolean value) {
this.createable = value;
}
/**
* 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 customSetting property.
*
*/
public boolean isCustomSetting() {
return customSetting;
}
/**
* Sets the value of the customSetting property.
*
*/
public void setCustomSetting(boolean value) {
this.customSetting = value;
}
/**
* Gets the value of the deletable property.
*
*/
public boolean isDeletable() {
return deletable;
}
/**
* Sets the value of the deletable property.
*
*/
public void setDeletable(boolean value) {
this.deletable = value;
}
/**
* Gets the value of the deprecatedAndHidden property.
*
*/
public boolean isDeprecatedAndHidden() {
return deprecatedAndHidden;
}
/**
* Sets the value of the deprecatedAndHidden property.
*
*/
public void setDeprecatedAndHidden(boolean value) {
this.deprecatedAndHidden = value;
}
/**
* Gets the value of the feedEnabled property.
*
*/
public boolean isFeedEnabled() {
return feedEnabled;
}
/**
* Sets the value of the feedEnabled property.
*
*/
public void setFeedEnabled(boolean value) {
this.feedEnabled = value;
}
/**
* Gets the value of the fields 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 fields property.
*
*
* For example, to add a new item, do as follows:
*
* getFields().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Field }
*
*
*/
public List getFields() {
if (fields == null) {
fields = new ArrayList();
}
return this.fields;
}
/**
* Gets the value of the keyPrefix property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyPrefix() {
return keyPrefix;
}
/**
* Sets the value of the keyPrefix property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyPrefix(String value) {
this.keyPrefix = 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 labelPlural property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabelPlural() {
return labelPlural;
}
/**
* Sets the value of the labelPlural property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabelPlural(String value) {
this.labelPlural = value;
}
/**
* Gets the value of the layoutable property.
*
*/
public boolean isLayoutable() {
return layoutable;
}
/**
* Sets the value of the layoutable property.
*
*/
public void setLayoutable(boolean value) {
this.layoutable = value;
}
/**
* Gets the value of the listviewable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isListviewable() {
return listviewable;
}
/**
* Sets the value of the listviewable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setListviewable(Boolean value) {
this.listviewable = value;
}
/**
* Gets the value of the lookupLayoutable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isLookupLayoutable() {
return lookupLayoutable;
}
/**
* Sets the value of the lookupLayoutable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setLookupLayoutable(Boolean value) {
this.lookupLayoutable = value;
}
/**
* Gets the value of the mergeable property.
*
*/
public boolean isMergeable() {
return mergeable;
}
/**
* Sets the value of the mergeable property.
*
*/
public void setMergeable(boolean value) {
this.mergeable = 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 namedLayoutInfos 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 namedLayoutInfos property.
*
*
* For example, to add a new item, do as follows:
*
* getNamedLayoutInfos().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NamedLayoutInfo }
*
*
*/
public List getNamedLayoutInfos() {
if (namedLayoutInfos == null) {
namedLayoutInfos = new ArrayList();
}
return this.namedLayoutInfos;
}
/**
* Gets the value of the queryable property.
*
*/
public boolean isQueryable() {
return queryable;
}
/**
* Sets the value of the queryable property.
*
*/
public void setQueryable(boolean value) {
this.queryable = value;
}
/**
* Gets the value of the recordTypeInfos 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 recordTypeInfos property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordTypeInfos().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RecordTypeInfo }
*
*
*/
public List getRecordTypeInfos() {
if (recordTypeInfos == null) {
recordTypeInfos = new ArrayList();
}
return this.recordTypeInfos;
}
/**
* Gets the value of the replicateable property.
*
*/
public boolean isReplicateable() {
return replicateable;
}
/**
* Sets the value of the replicateable property.
*
*/
public void setReplicateable(boolean value) {
this.replicateable = value;
}
/**
* Gets the value of the retrieveable property.
*
*/
public boolean isRetrieveable() {
return retrieveable;
}
/**
* Sets the value of the retrieveable property.
*
*/
public void setRetrieveable(boolean value) {
this.retrieveable = value;
}
/**
* Gets the value of the searchLayoutable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isSearchLayoutable() {
return searchLayoutable;
}
/**
* Sets the value of the searchLayoutable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setSearchLayoutable(Boolean value) {
this.searchLayoutable = value;
}
/**
* Gets the value of the searchable property.
*
*/
public boolean isSearchable() {
return searchable;
}
/**
* Sets the value of the searchable property.
*
*/
public void setSearchable(boolean value) {
this.searchable = value;
}
/**
* Gets the value of the supportedScopes 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 supportedScopes property.
*
*
* For example, to add a new item, do as follows:
*
* getSupportedScopes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ScopeInfo }
*
*
*/
public List getSupportedScopes() {
if (supportedScopes == null) {
supportedScopes = new ArrayList();
}
return this.supportedScopes;
}
/**
* Gets the value of the triggerable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTriggerable() {
return triggerable;
}
/**
* Sets the value of the triggerable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTriggerable(Boolean value) {
this.triggerable = value;
}
/**
* Gets the value of the undeletable property.
*
*/
public boolean isUndeletable() {
return undeletable;
}
/**
* Sets the value of the undeletable property.
*
*/
public void setUndeletable(boolean value) {
this.undeletable = value;
}
/**
* Gets the value of the updateable property.
*
*/
public boolean isUpdateable() {
return updateable;
}
/**
* Sets the value of the updateable property.
*
*/
public void setUpdateable(boolean value) {
this.updateable = value;
}
}