com.sforce.soap.tooling.SObject 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for sObject complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="sObject">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="fieldsToNull" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Id" type="{urn:tooling.soap.sforce.com}ID"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sObject", propOrder = {
"fieldsToNull",
"id"
})
@XmlSeeAlso({
WorkflowAlert.class,
WorkflowFieldUpdate.class,
WorkflowOutboundMessage.class,
WorkflowTask.class,
ApexClass.class,
ApexClassMember.class,
ApexCodeCoverage.class,
ApexCodeCoverageAggregate.class,
ApexComponent.class,
ApexComponentMember.class,
ApexEmailNotification.class,
ApexExecutionOverlayAction.class,
ApexExecutionOverlayResult.class,
ApexLog.class,
ApexOrgWideCoverage.class,
ApexPage.class,
ApexPageMember.class,
ApexTestQueueItem.class,
ApexTestResult.class,
ApexTrigger.class,
ApexTriggerMember.class,
AssignmentRule.class,
AsyncApexJob.class,
AuraDefinition.class,
AuraDefinitionBundle.class,
AutoResponseRule.class,
BusinessProcess.class,
CompactLayout.class,
CompactLayoutInfo.class,
CompactLayoutItemInfo.class,
ContainerAsyncRequest.class,
CustomObject.class,
CustomField.class,
CustomFieldMember.class,
HomePageLayout.class,
CustomTab.class,
DataType.class,
DebugLevel.class,
EmailTemplate.class,
EntityDefinition.class,
EntityLimit.class,
EntityParticle.class,
PostTemplate.class,
FieldDefinition.class,
FieldSet.class,
FlexiPage.class,
FlowDefinition.class,
GitHubPushOperation.class,
GitHubRepositoryLink.class,
IDEPerspective.class,
IDEWorkspace.class,
Flow.class,
Layout.class,
LeadConvertSettings.class,
MenuItem.class,
MetadataContainer.class,
MetadataContainerMember.class,
Name.class,
LookupFilter.class,
OwnerChangeOptionInfo.class,
HomePageComponent.class,
Profile.class,
ProfileLayout.class,
Publisher.class,
QuickActionDefinition.class,
QuickActionList.class,
QuickActionListItem.class,
RecentlyViewed.class,
RecordType.class,
RelationshipDomain.class,
RelationshipInfo.class,
Scontrol.class,
SearchLayout.class,
StandardAction.class,
StaticResource.class,
TraceFlag.class,
TransactionSecurityPolicy.class,
User.class,
UserEntityAccess.class,
UserFieldAccess.class,
UserPreference.class,
ValidationRule.class,
ValidationRuleMember.class,
WebLink.class,
WorkflowAlertMember.class,
WorkflowFieldUpdateMember.class,
WorkflowOutboundMessageMember.class,
WorkflowRule.class,
WorkflowRuleMember.class,
WorkflowTaskMember.class
})
public class SObject {
@XmlElement(nillable = true)
protected List fieldsToNull;
@XmlElement(name = "Id", required = true, nillable = true)
protected String id;
/**
* Gets the value of the fieldsToNull 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 fieldsToNull property.
*
*
* For example, to add a new item, do as follows:
*
* getFieldsToNull().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getFieldsToNull() {
if (fieldsToNull == null) {
fieldsToNull = new ArrayList();
}
return this.fieldsToNull;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}