Package com.complexible.stardog.icv
Interface ConstraintViolation<T>
public interface ConstraintViolation<T>
Interface to represent the violation of an integrity constraint. Specifies which IC was violated and provides an
iterator over the violation.
- Since:
- 0.7
- Version:
- 6.0
- Author:
- Michael Grove
-
Method Summary
Modifier and TypeMethodDescriptionThe contexts where the constraint was violatedThe constraint which was violatedThe set of violations of the constraint
-
Method Details
-
getActiveGraph
Collection<IRI> getActiveGraph()The contexts where the constraint was violated- Returns:
- the contexts
-
getConstraint
Constraint getConstraint()The constraint which was violated- Returns:
- the constraint
-
getViolations
The set of violations of the constraint- Returns:
- the violations
- Throws:
StardogException- thrown if the violations could not be calculated
-