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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<IRI>
getActiveGraph()
The contexts where the constraint was violatedConstraint
getConstraint()
The constraint which was violatedCloseableIterator<T>
getViolations()
The set of violations of the constraint
-
-
-
Method Detail
-
getActiveGraph
java.util.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
CloseableIterator<T> getViolations() throws StardogException
The set of violations of the constraint- Returns:
- the violations
- Throws:
StardogException
- thrown if the violations could not be calculated
-
-