public class Field extends Object implements Serializable
Java class for Field complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Field"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="dataType" type="{urn:sfobject.sfapi.successfactors.com}dataType"/> <element name="picklist" type="{urn:sfobject.sfapi.successfactors.com}Picklist" minOccurs="0"/> <element name="label" type="{urn:sfobject.sfapi.successfactors.com}Label" maxOccurs="unbounded" minOccurs="0"/> <element name="maxlength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected DataType |
dataType |
protected List<Label> |
labels |
protected Integer |
maxlength |
protected String |
name |
protected Picklist |
picklist |
protected boolean |
required |
Constructor and Description |
---|
Field() |
Modifier and Type | Method and Description |
---|---|
DataType |
getDataType()
Gets the value of the dataType property.
|
List<Label> |
getLabels()
Gets the value of the labels property.
|
Integer |
getMaxlength()
Gets the value of the maxlength property.
|
String |
getName()
Gets the value of the name property.
|
Picklist |
getPicklist()
Gets the value of the picklist property.
|
boolean |
getRequired()
Gets the value of the required property.
|
void |
setDataType(DataType value)
Sets the value of the dataType property.
|
void |
setLabels(List<Label> labels)
Sets the value of the labels property.
|
void |
setMaxlength(Integer value)
Sets the value of the maxlength property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPicklist(Picklist value)
Sets the value of the picklist property.
|
void |
setRequired(boolean value)
Sets the value of the required property.
|
protected String name
protected DataType dataType
protected Picklist picklist
protected Integer maxlength
protected boolean required
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public DataType getDataType()
DataType
public void setDataType(DataType value)
value
- allowed object is
DataType
public Picklist getPicklist()
Picklist
public void setPicklist(Picklist value)
value
- allowed object is
Picklist
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 Integer getMaxlength()
Integer
public void setMaxlength(Integer value)
value
- allowed object is
Integer
public boolean getRequired()
public void setRequired(boolean value)
Copyright © 2010–2017. All rights reserved.