public class DescribeWorkitemActionResult extends Object
Java class for DescribeWorkitemActionResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DescribeWorkitemActionResult">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="actions" type="{urn:tooling.soap.sforce.com}AllowedWorkitemAction" maxOccurs="unbounded" minOccurs="0"/>
<element name="errors" type="{urn:tooling.soap.sforce.com}Error" maxOccurs="unbounded" minOccurs="0"/>
<element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="targetObjectId" type="{urn:tooling.soap.sforce.com}ID"/>
<element name="workitemId" type="{urn:tooling.soap.sforce.com}ID"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AllowedWorkitemAction> |
actions |
protected List<Error> |
errors |
protected boolean |
success |
protected String |
targetObjectId |
protected String |
workitemId |
| Constructor and Description |
|---|
DescribeWorkitemActionResult() |
| Modifier and Type | Method and Description |
|---|---|
List<AllowedWorkitemAction> |
getActions()
Gets the value of the actions property.
|
List<Error> |
getErrors()
Gets the value of the errors property.
|
String |
getTargetObjectId()
Gets the value of the targetObjectId property.
|
String |
getWorkitemId()
Gets the value of the workitemId property.
|
boolean |
isSuccess()
Gets the value of the success property.
|
void |
setSuccess(boolean value)
Sets the value of the success property.
|
void |
setTargetObjectId(String value)
Sets the value of the targetObjectId property.
|
void |
setWorkitemId(String value)
Sets the value of the workitemId property.
|
protected List<AllowedWorkitemAction> actions
protected boolean success
protected String targetObjectId
protected String workitemId
public List<AllowedWorkitemAction> getActions()
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 actions property.
For example, to add a new item, do as follows:
getActions().add(newItem);
Objects of the following type(s) are allowed in the list
AllowedWorkitemAction
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 boolean isSuccess()
public void setSuccess(boolean value)
public String getTargetObjectId()
Stringpublic void setTargetObjectId(String value)
value - allowed object is
Stringpublic String getWorkitemId()
StringCopyright © 2016. All rights reserved.