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