@OslcNamespace(value="http://www.w3.org/ns/shacl#") @OslcName(value="ValidationResult") @OslcResourceShape(title="ValidationResult Resource Shape", describes="http://www.w3.org/ns/shacl#ValidationResult") public class ValidationResult extends AbstractResource implements IValidationResult
Constructor and Description |
---|
ValidationResult() |
ValidationResult(URI about) |
Modifier and Type | Method and Description |
---|---|
static ResourceShape |
createResourceShape() |
URI |
getFocusNode() |
String |
getMessage() |
URI |
getResultPath() |
URI |
getResultSeverity() |
void |
setFocusNode(URI focusNode) |
void |
setMessage(String message) |
void |
setResultPath(URI resultPath) |
void |
setResultSeverity(URI resultSeverity) |
String |
toString() |
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
public ValidationResult() throws URISyntaxException
URISyntaxException
public ValidationResult(URI about) throws URISyntaxException
URISyntaxException
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException
@OslcName(value="resultPath") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#resultPath") @OslcOccurs(value=ExactlyOne) @OslcReadOnly(value=false) public URI getResultPath()
getResultPath
in interface IValidationResult
@OslcName(value="focusNode") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#focusNode") @OslcOccurs(value=ExactlyOne) @OslcReadOnly(value=false) public URI getFocusNode()
getFocusNode
in interface IValidationResult
@OslcName(value="message") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#message") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) public String getMessage()
getMessage
in interface IValidationResult
@OslcName(value="resultSeverity") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#resultSeverity") @OslcOccurs(value=ExactlyOne) @OslcReadOnly(value=false) @OslcAllowedValue(value={"http://www.w3.org/ns/shacl#Info","http://www.w3.org/ns/shacl#Warning","http://www.w3.org/ns/shacl#Violation"}) public URI getResultSeverity()
getResultSeverity
in interface IValidationResult
public void setResultPath(URI resultPath)
setResultPath
in interface IValidationResult
public void setFocusNode(URI focusNode)
setFocusNode
in interface IValidationResult
public void setMessage(String message)
setMessage
in interface IValidationResult
public void setResultSeverity(URI resultSeverity)
setResultSeverity
in interface IValidationResult
Copyright © 2019. All rights reserved.