public class ResourceValidationResult extends Object implements ValidationResult
| Constructor and Description |
|---|
ResourceValidationResult(org.apache.jena.rdf.model.Resource result) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.apache.jena.rdf.model.RDFNode |
getFocusNode()
See sh:focusNode.
|
String |
getMessage()
Gets the human-readable message attached to the result.
|
Collection<org.apache.jena.rdf.model.RDFNode> |
getMessages()
Gets the human-readable message attached to the result (see sh:resultMessage).
|
org.apache.jena.rdf.model.Resource |
getPath()
See sh:resultPath.
|
List<org.apache.jena.rdf.model.RDFNode> |
getPropertyValues(org.apache.jena.rdf.model.Property predicate)
Provides access to other RDF values that may exist for the result instance, for any given property.
|
org.apache.jena.rdf.model.Resource |
getResource() |
org.apache.jena.rdf.model.Resource |
getSeverity()
See sh:resultSeverity.
|
org.apache.jena.rdf.model.Resource |
getSourceConstraint()
See sh:sourceConstraint.
|
org.apache.jena.rdf.model.Resource |
getSourceConstraintComponent()
See sh:sourceConstraintComponent.
|
org.apache.jena.rdf.model.Resource |
getSourceShape()
See sh:sourceShape.
|
org.apache.jena.rdf.model.RDFNode |
getValue()
See sh:value.
|
int |
hashCode() |
public ResourceValidationResult(org.apache.jena.rdf.model.Resource result)
public org.apache.jena.rdf.model.RDFNode getFocusNode()
ValidationResultgetFocusNode in interface ValidationResultpublic String getMessage()
ValidationResultgetMessages() might be
a better choice.getMessage in interface ValidationResultpublic Collection<org.apache.jena.rdf.model.RDFNode> getMessages()
ValidationResultgetMessages in interface ValidationResultpublic org.apache.jena.rdf.model.Resource getPath()
ValidationResultgetPath in interface ValidationResultpublic List<org.apache.jena.rdf.model.RDFNode> getPropertyValues(org.apache.jena.rdf.model.Property predicate)
ValidationResultgetPropertyValues in interface ValidationResultpredicate - the property to get the values ofpublic org.apache.jena.rdf.model.Resource getResource()
public org.apache.jena.rdf.model.Resource getSeverity()
ValidationResultgetSeverity in interface ValidationResultpublic org.apache.jena.rdf.model.Resource getSourceConstraint()
ValidationResultgetSourceConstraint in interface ValidationResultpublic org.apache.jena.rdf.model.Resource getSourceConstraintComponent()
ValidationResultgetSourceConstraintComponent in interface ValidationResultpublic org.apache.jena.rdf.model.Resource getSourceShape()
ValidationResultgetSourceShape in interface ValidationResultpublic org.apache.jena.rdf.model.RDFNode getValue()
ValidationResultgetValue in interface ValidationResultCopyright © 2019 TopQuadrant, Inc.. All rights reserved.