public class PicklistOption extends Object implements Serializable
Java class for PicklistOption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PicklistOption"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="label" type="{urn:sfobject.sfapi.successfactors.com}Label" maxOccurs="unbounded" minOccurs="0"/> <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}double"/> <element name="externalCode" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
externalCode |
protected long |
id |
protected List<Label> |
labels |
protected String |
status |
protected double |
value |
Constructor and Description |
---|
PicklistOption() |
Modifier and Type | Method and Description |
---|---|
String |
getExternalCode()
Gets the value of the externalCode property.
|
long |
getId()
Gets the value of the id property.
|
List<Label> |
getLabels()
Gets the value of the labels property.
|
String |
getStatus()
Gets the value of the status property.
|
double |
getValue()
Gets the value of the value property.
|
void |
setExternalCode(String value)
Sets the value of the externalCode property.
|
void |
setId(long value)
Sets the value of the id property.
|
void |
setLabels(List<Label> labels)
Sets the value of the labels property.
|
void |
setStatus(String value)
Sets the value of the status property.
|
void |
setValue(double value)
Sets the value of the value property.
|
protected long id
protected String status
protected double value
protected String externalCode
public long getId()
public void setId(long value)
public List<Label> getLabels()
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 labels property.
For example, to add a new item, do as follows:
getLabels().add(newItem);
Objects of the following type(s) are allowed in the list
Label
public String getStatus()
String
public void setStatus(String value)
value
- allowed object is
String
public double getValue()
public void setValue(double value)
public String getExternalCode()
String
public void setExternalCode(String value)
value
- allowed object is
String
Copyright © 2010–2017. All rights reserved.