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