public class PicklistValue extends Metadata
Java class for PicklistValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PicklistValue">
<complexContent>
<extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
<sequence>
<element name="allowEmail" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="closed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="color" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="controllingFieldValues" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="converted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="cssExposed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="default" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="forecastCategory" type="{urn:tooling.soap.sforce.com}ForecastCategories" minOccurs="0"/>
<element name="highPriority" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="probability" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="reverseRole" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="reviewed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="valueName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="won" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_default |
protected Boolean |
allowEmail |
protected Boolean |
closed |
protected String |
color |
protected List<String> |
controllingFieldValues |
protected Boolean |
converted |
protected Boolean |
cssExposed |
protected String |
description |
protected ForecastCategories |
forecastCategory |
protected Boolean |
highPriority |
protected Integer |
probability |
protected String |
reverseRole |
protected Boolean |
reviewed |
protected String |
valueName |
protected Boolean |
won |
| Constructor and Description |
|---|
PicklistValue() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Gets the value of the color property.
|
List<String> |
getControllingFieldValues()
Gets the value of the controllingFieldValues property.
|
String |
getDescription()
Gets the value of the description property.
|
ForecastCategories |
getForecastCategory()
Gets the value of the forecastCategory property.
|
Integer |
getProbability()
Gets the value of the probability property.
|
String |
getReverseRole()
Gets the value of the reverseRole property.
|
String |
getValueName()
Gets the value of the valueName property.
|
Boolean |
isAllowEmail()
Gets the value of the allowEmail property.
|
Boolean |
isClosed()
Gets the value of the closed property.
|
Boolean |
isConverted()
Gets the value of the converted property.
|
Boolean |
isCssExposed()
Gets the value of the cssExposed property.
|
boolean |
isDefault()
Gets the value of the default property.
|
Boolean |
isHighPriority()
Gets the value of the highPriority property.
|
Boolean |
isReviewed()
Gets the value of the reviewed property.
|
Boolean |
isWon()
Gets the value of the won property.
|
void |
setAllowEmail(Boolean value)
Sets the value of the allowEmail property.
|
void |
setClosed(Boolean value)
Sets the value of the closed property.
|
void |
setColor(String value)
Sets the value of the color property.
|
void |
setConverted(Boolean value)
Sets the value of the converted property.
|
void |
setCssExposed(Boolean value)
Sets the value of the cssExposed property.
|
void |
setDefault(boolean value)
Sets the value of the default property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setForecastCategory(ForecastCategories value)
Sets the value of the forecastCategory property.
|
void |
setHighPriority(Boolean value)
Sets the value of the highPriority property.
|
void |
setProbability(Integer value)
Sets the value of the probability property.
|
void |
setReverseRole(String value)
Sets the value of the reverseRole property.
|
void |
setReviewed(Boolean value)
Sets the value of the reviewed property.
|
void |
setValueName(String value)
Sets the value of the valueName property.
|
void |
setWon(Boolean value)
Sets the value of the won property.
|
protected Boolean allowEmail
protected Boolean closed
protected String color
protected Boolean converted
protected Boolean cssExposed
protected boolean _default
protected String description
protected ForecastCategories forecastCategory
protected Boolean highPriority
protected Integer probability
protected String reverseRole
protected Boolean reviewed
protected String valueName
protected Boolean won
public Boolean isAllowEmail()
Booleanpublic void setAllowEmail(Boolean value)
value - allowed object is
Booleanpublic Boolean isClosed()
Booleanpublic void setClosed(Boolean value)
value - allowed object is
Booleanpublic String getColor()
Stringpublic void setColor(String value)
value - allowed object is
Stringpublic List<String> getControllingFieldValues()
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 controllingFieldValues property.
For example, to add a new item, do as follows:
getControllingFieldValues().add(newItem);
Objects of the following type(s) are allowed in the list
String
public Boolean isConverted()
Booleanpublic void setConverted(Boolean value)
value - allowed object is
Booleanpublic Boolean isCssExposed()
Booleanpublic void setCssExposed(Boolean value)
value - allowed object is
Booleanpublic boolean isDefault()
public void setDefault(boolean value)
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic ForecastCategories getForecastCategory()
ForecastCategoriespublic void setForecastCategory(ForecastCategories value)
value - allowed object is
ForecastCategoriespublic Boolean isHighPriority()
Booleanpublic void setHighPriority(Boolean value)
value - allowed object is
Booleanpublic Integer getProbability()
Integerpublic void setProbability(Integer value)
value - allowed object is
Integerpublic String getReverseRole()
Stringpublic void setReverseRole(String value)
value - allowed object is
Stringpublic Boolean isReviewed()
Booleanpublic void setReviewed(Boolean value)
value - allowed object is
Booleanpublic String getValueName()
Stringpublic void setValueName(String value)
value - allowed object is
Stringpublic Boolean isWon()
BooleanCopyright © 2016. All rights reserved.