eu.planets_project.services.validate
Class ValidateResult
java.lang.Object
eu.planets_project.services.validate.ValidateResult
public final class ValidateResult
- extends java.lang.Object
Result type for validation services.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getErrors
public java.util.List<ValidateResult.Message> getErrors()
- Returns:
- A copy of the collected errors in the file
- See Also:
errors
getWarnings
public java.util.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 java.net.URI getThisFormat()
- Returns:
- This format
- See Also:
thisFormat
getProperties
public java.util.List<Property> getProperties()
- Returns:
- the properties
Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.