public class DataError extends JsonObject
Constructor and Description |
---|
DataError()
Default ctor
|
DataError(com.fasterxml.jackson.databind.JsonNode entityData,
List<Error> errors)
Ctor with given values
|
Modifier and Type | Method and Description |
---|---|
static DataError |
findErrorForDoc(List<DataError> list,
com.fasterxml.jackson.databind.JsonNode node)
Returns the data error for the given json doc in the list
|
static DataError |
fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Parses a Json object node and returns the DataError corresponding to it.
|
com.fasterxml.jackson.databind.JsonNode |
getEntityData()
The entity data for which these errors apply.
|
List<Error> |
getErrors()
List of errors for this document
|
void |
setEntityData(com.fasterxml.jackson.databind.JsonNode node)
The entity data for which these errors apply.
|
void |
setErrors(List<Error> e)
List of errors for this document
|
com.fasterxml.jackson.databind.JsonNode |
toJson()
converts this object to json representation
|
getFactory, getSourceNode, toString
public com.fasterxml.jackson.databind.JsonNode getEntityData()
public void setEntityData(com.fasterxml.jackson.databind.JsonNode node)
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson
in class JsonObject
public static DataError fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Copyright © 2014. All rights reserved.