All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.SaveResult Maven / Gradle / Ivy

The newest version!

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 SaveResult complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="SaveResult">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="errors" type="{urn:tooling.soap.sforce.com}Error" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="id" type="{urn:tooling.soap.sforce.com}ID"/>
 *         <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SaveResult", propOrder = { "errors", "id", "success" }) public class SaveResult { protected List errors; @XmlElement(required = true) protected String id; protected boolean success; /** * 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 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; } /** * 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy