com.sforce.soap.partner.ProcessResult Maven / Gradle / Ivy
package com.sforce.soap.partner;
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 ProcessResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ProcessResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="actorIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded" minOccurs="0"/>
* <element name="entityId" type="{urn:partner.soap.sforce.com}ID"/>
* <element name="errors" type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded" minOccurs="0"/>
* <element name="instanceId" type="{urn:partner.soap.sforce.com}ID"/>
* <element name="instanceStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="newWorkitemIds" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded" minOccurs="0"/>
* <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProcessResult", propOrder = {
"actorIds",
"entityId",
"errors",
"instanceId",
"instanceStatus",
"newWorkitemIds",
"success"
})
public class ProcessResult {
protected List actorIds;
@XmlElement(required = true, nillable = true)
protected String entityId;
protected List errors;
@XmlElement(required = true, nillable = true)
protected String instanceId;
@XmlElement(required = true, nillable = true)
protected String instanceStatus;
@XmlElement(nillable = true)
protected List newWorkitemIds;
protected boolean success;
/**
* Gets the value of the actorIds 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 actorIds property.
*
*
* For example, to add a new item, do as follows:
*
* getActorIds().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getActorIds() {
if (actorIds == null) {
actorIds = new ArrayList();
}
return this.actorIds;
}
/**
* Gets the value of the entityId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityId() {
return entityId;
}
/**
* Sets the value of the entityId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityId(String value) {
this.entityId = value;
}
/**
* Gets the value of the errors 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 errors property.
*
*
* For example, to add a new item, do as follows:
*
* getErrors().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Error }
*
*
*/
public List getErrors() {
if (errors == null) {
errors = new ArrayList();
}
return this.errors;
}
/**
* Gets the value of the instanceId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstanceId() {
return instanceId;
}
/**
* Sets the value of the instanceId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInstanceId(String value) {
this.instanceId = value;
}
/**
* Gets the value of the instanceStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstanceStatus() {
return instanceStatus;
}
/**
* Sets the value of the instanceStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInstanceStatus(String value) {
this.instanceStatus = value;
}
/**
* Gets the value of the newWorkitemIds 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 newWorkitemIds property.
*
*
* For example, to add a new item, do as follows:
*
* getNewWorkitemIds().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNewWorkitemIds() {
if (newWorkitemIds == null) {
newWorkitemIds = new ArrayList();
}
return this.newWorkitemIds;
}
/**
* Gets the value of the success property.
*
*/
public boolean isSuccess() {
return success;
}
/**
* Sets the value of the success property.
*
*/
public void setSuccess(boolean value) {
this.success = value;
}
}