eu.planets_project.services.validate
Class ValidateResult
java.lang.Object
eu.planets_project.services.validate.ValidateResult
public final class ValidateResult
- extends Object
Result type for validation services.
- Author:
- Andy Jackson, Asger Blekinge-Rasmussen,
getErrors
public List<ValidateResult.Message> getErrors()
- Returns:
- A copy of the collected errors in the file
- See Also:
errors
getWarnings
public List<ValidateResult.Message> getWarnings()
- Returns:
- A copy of the collected warnings
- See Also:
errors
getReport
public ServiceReport getReport()
- Returns:
- the report
isOfThisFormat
public boolean isOfThisFormat()
- Returns:
- whether or not the file was of this format
- See Also:
ofThisFormat
isValidInRegardToThisFormat
public boolean isValidInRegardToThisFormat()
- Returns:
- whether or not the file was valid in regards to this format
- See Also:
validInRegardToThisFormat
getThisFormat
public URI getThisFormat()
- Returns:
- This format
- See Also:
thisFormat
getProperties
public List<Property> getProperties()
- Returns:
- the properties
Copyright © 2013 Open Planets Foundation. All Rights Reserved.