public class ConstraintViolation extends Object
Constructor and Description |
---|
ConstraintViolation(IRI constraint,
List<Triple> triples)
Create a new constraint violation.
|
ConstraintViolation(IRI constraint,
Triple triple)
Create a new constraint violation.
|
Modifier and Type | Method and Description |
---|---|
IRI |
getConstraint()
Get the constraint IRI for this violation.
|
List<Triple> |
getTriples()
Get the triples causing the constraint violation.
|
String |
toString() |
public ConstraintViolation(IRI constraint, Triple triple)
constraint
- the constraint IRItriple
- the triple