Package org.eclipse.lyo.shacl
Class ValidationReport
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.shacl.ValidationReport
- All Implemented Interfaces:
IExtendedResource,IResource,IValidationReport
@OslcNamespace("http://www.w3.org/ns/shacl#")
@OslcName("ValidationReport")
@OslcResourceShape(title="ValidationReport Resource Shape",
describes="http://www.w3.org/ns/shacl#ValidationReport")
public class ValidationReport
extends AbstractResource
implements IValidationReport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(ValidationResult result) static ResourceShapevoidsetConforms(Boolean conforms) voidsetResult(HashSet<ValidationResult> result) toString()Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ValidationReport
- Throws:
URISyntaxException
-
ValidationReport
- Throws:
URISyntaxException
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
addResult
- Specified by:
addResultin interfaceIValidationReport
-
isConforms
@OslcName("conforms") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#conforms") @OslcOccurs(ExactlyOne) @OslcValueType(Boolean) @OslcReadOnly(false) public Boolean isConforms()- Specified by:
isConformsin interfaceIValidationReport
-
getResult
@OslcName("result") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#result") @OslcOccurs(ZeroOrMany) @OslcValueType(LocalResource) @OslcRange("http://www.w3.org/ns/shacl#ValidationResult") @OslcReadOnly(false) public HashSet<ValidationResult> getResult()- Specified by:
getResultin interfaceIValidationReport
-
setConforms
- Specified by:
setConformsin interfaceIValidationReport
-
setResult
- Specified by:
setResultin interfaceIValidationReport
-
toString
-