public class DescribeResult extends Object implements Serializable
Java class for DescribeResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DescribeResult"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="field" type="{urn:sfobject.sfapi.successfactors.com}Field" maxOccurs="unbounded"/> <element name="feature" type="{urn:sfobject.sfapi.successfactors.com}featureType" maxOccurs="unbounded" minOccurs="0"/> <element name="error" type="{urn:sfobject.sfapi.successfactors.com}Error" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Error> |
errors |
protected List<FeatureType> |
features |
protected List<Field> |
fields |
protected String |
type |
Constructor and Description |
---|
DescribeResult() |
Modifier and Type | Method and Description |
---|---|
List<Error> |
getErrors()
Gets the value of the errors property.
|
List<FeatureType> |
getFeatures()
Gets the value of the features property.
|
List<Field> |
getFields()
Gets the value of the fields property.
|
String |
getType()
Gets the value of the type property.
|
void |
setErrors(List<Error> errors)
Sets the value of the errors property.
|
void |
setFeatures(List<FeatureType> features)
Sets the value of the features property.
|
void |
setFields(List<Field> fields)
Sets the value of the fields property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected String type
protected List<FeatureType> features
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public List<Field> getFields()
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 fields property.
For example, to add a new item, do as follows:
getFields().add(newItem);
Objects of the following type(s) are allowed in the list
Field
public List<FeatureType> getFeatures()
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 features property.
For example, to add a new item, do as follows:
getFeatures().add(newItem);
Objects of the following type(s) are allowed in the list
FeatureType
public List<Error> getErrors()
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 errors property.
For example, to add a new item, do as follows:
getErrors().add(newItem);
Objects of the following type(s) are allowed in the list
Error
public void setFields(List<Field> fields)
fields
- allowed object is
Field
public void setFeatures(List<FeatureType> features)
features
- allowed object is
FeatureType
Copyright © 2010–2017. All rights reserved.