public class SearchSnippet extends Object
Java class for SearchSnippet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SearchSnippet">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="wholeFields" type="{urn:tooling.soap.sforce.com}NameValuePair" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
text |
protected List<NameValuePair> |
wholeFields |
| Constructor and Description |
|---|
SearchSnippet() |
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Gets the value of the text property.
|
List<NameValuePair> |
getWholeFields()
Gets the value of the wholeFields property.
|
void |
setText(String value)
Sets the value of the text property.
|
protected String text
protected List<NameValuePair> wholeFields
public String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic List<NameValuePair> getWholeFields()
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 wholeFields property.
For example, to add a new item, do as follows:
getWholeFields().add(newItem);
Objects of the following type(s) are allowed in the list
NameValuePair
Copyright © 2016. All rights reserved.