com.clarkparsia.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 iteration over an 'explanation' of the violation.

Since:
0.7
Version:
0.7
Author:
Michael Grove

Method Summary
 Collection<URI> getActiveGraph()
          The contexts where the constraint was violated
 Constraint getConstraint()
          The constraint which was violated
 Iteration<T,StardogException> getViolations()
          The set of violations of the constraint
 

Method Detail

getActiveGraph

Collection<URI> getActiveGraph()
The contexts where the constraint was violated

Returns:
the contexts

getConstraint

Constraint getConstraint()
The constraint which was violated

Returns:
the constraint

getViolations

Iteration<T,StardogException> getViolations()
                                            throws StardogException
The set of violations of the constraint

Returns:
the violations
Throws:
StardogException - thrown if the violations could not be calculated


Copyright © 2010-2013 Clark & Parsia. All Rights Reserved.