![JAR search and dependency download from the Maven repository](/logo.png)
com.sforce.soap.tooling.SetValue 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.XmlType;
/**
* Java class for SetValue complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SetValue">
* <complexContent>
* <extension base="{urn:tooling.soap.sforce.com}StateValue">
* <sequence>
* <element name="value" type="{urn:tooling.soap.sforce.com}StateValue" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SetValue", propOrder = {
"value"
})
public class SetValue
extends StateValue
{
protected List value;
/**
* Gets the value of the value 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 value property.
*
*
* For example, to add a new item, do as follows:
*
* getValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StateValue }
*
*
*/
public List getValue() {
if (value == null) {
value = new ArrayList();
}
return this.value;
}
}