public class ApiSaveResult extends ApiResult
Java class for apiSaveResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="apiSaveResult">
<complexContent>
<extension base="{http://result.apiservice.bullhorn.com/}apiResult">
<sequence>
<element name="dto" type="{http://entity.bullhorn.com/}abstractDto" minOccurs="0"/>
<element name="validationErrors" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AbstractDto |
dto |
protected java.util.List<java.lang.String> |
validationErrors |
| Constructor and Description |
|---|
ApiSaveResult() |
| Modifier and Type | Method and Description |
|---|---|
AbstractDto |
getDto()
Gets the value of the dto property.
|
java.util.List<java.lang.String> |
getValidationErrors()
Gets the value of the validationErrors property.
|
void |
setDto(AbstractDto value)
Sets the value of the dto property.
|
getSession, setSessionprotected AbstractDto dto
protected java.util.List<java.lang.String> validationErrors
public AbstractDto getDto()
AbstractDtopublic void setDto(AbstractDto value)
value - allowed object is
AbstractDtopublic java.util.List<java.lang.String> getValidationErrors()
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 validationErrors property.
For example, to add a new item, do as follows:
getValidationErrors().add(newItem);
Objects of the following type(s) are allowed in the list
String