T - public abstract class Result<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<org.springframework.validation.ObjectError> |
errorsList
Errors list.
|
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
getContents()
Gets content objects in compliance with WindnTrees response object.
|
List<org.springframework.validation.ObjectError> |
getErrors()
Gets errors list.
|
boolean |
hasError()
Gets error status.
|
void |
setErrors(List<org.springframework.validation.ObjectError> erros)
Sets errors list.
|
protected List<org.springframework.validation.ObjectError> errorsList
public List<org.springframework.validation.ObjectError> getErrors()
public void setErrors(List<org.springframework.validation.ObjectError> erros)
erros - public boolean hasError()
public abstract Object getContents()
Copyright © 2018. All rights reserved.