Package org.trellisldp.api
Class ConstraintViolation
- java.lang.Object
-
- org.trellisldp.api.ConstraintViolation
-
public class ConstraintViolation extends Object
A class that represents a constraint violation in an RDF graph.
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolation(IRI constraint, List<Triple> triples)
Create a new constraint violation.ConstraintViolation(IRI constraint, Triple triple)
Create a new constraint violation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRI
getConstraint()
Get the constraint IRI for this violation.List<Triple>
getTriples()
Get the triples causing the constraint violation.String
toString()
-