public class OutputUnit extends Object
Constructor and Description |
---|
OutputUnit() |
OutputUnit(boolean valid) |
OutputUnit(JsonObject json) |
OutputUnit(String instanceLocation,
String keyword,
String keywordLocation,
String error) |
Modifier and Type | Method and Description |
---|---|
OutputUnit |
addAnnotation(OutputUnit annotation) |
OutputUnit |
addAnnotations(List<OutputUnit> annotations) |
OutputUnit |
addError(OutputUnit error) |
OutputUnit |
addErrors(List<OutputUnit> errors) |
List<OutputUnit> |
getAnnotations() |
String |
getError() |
List<OutputUnit> |
getErrors() |
String |
getInstanceLocation() |
String |
getKeyword() |
String |
getKeywordLocation() |
Boolean |
getValid() |
OutputUnit |
setAnnotations(List<OutputUnit> annotations) |
OutputUnit |
setError(String error) |
OutputUnit |
setErrors(List<OutputUnit> errors) |
OutputUnit |
setInstanceLocation(String instanceLocation) |
OutputUnit |
setKeyword(String keyword) |
OutputUnit |
setKeywordLocation(String keywordLocation) |
OutputUnit |
setValid(Boolean valid) |
ValidationException |
toException(Object input) |
JsonObject |
toJson() |
String |
toString() |
public OutputUnit()
public OutputUnit(JsonObject json)
public OutputUnit(boolean valid)
public Boolean getValid()
public OutputUnit setValid(Boolean valid)
public String getKeyword()
public OutputUnit setKeyword(String keyword)
public String getKeywordLocation()
public OutputUnit setKeywordLocation(String keywordLocation)
public String getInstanceLocation()
public OutputUnit setInstanceLocation(String instanceLocation)
public String getError()
public OutputUnit setError(String error)
public List<OutputUnit> getErrors()
public OutputUnit setErrors(List<OutputUnit> errors)
public OutputUnit addError(OutputUnit error)
public OutputUnit addErrors(List<OutputUnit> errors)
public List<OutputUnit> getAnnotations()
public OutputUnit setAnnotations(List<OutputUnit> annotations)
public OutputUnit addAnnotation(OutputUnit annotation)
public OutputUnit addAnnotations(List<OutputUnit> annotations)
public ValidationException toException(Object input)
public JsonObject toJson()
Copyright © 2023 Eclipse. All rights reserved.