Package com.complexible.stardog.icv
Interface Constraint
-
- All Superinterfaces:
Copyable<Constraint>
public interface Constraint extends Copyable<Constraint>
Interface to represent an integrity constraint.
- Since:
- 0.7
- Version:
- 6.0
- Author:
- Michael Grove
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
supportsViolationExplanation()
Returnstrue
if explaining this constraint is supported.java.lang.String
toString(Namespaces theNamespaces)
Returns the string representation of this constraint using the given namespaces.
-
-
-
Method Detail
-
supportsViolationExplanation
boolean supportsViolationExplanation()
Returnstrue
if explaining this constraint is supported. Explanations are supported for constraints expressed as OWL axioms but not for SPARQL constraints.
-
toString
java.lang.String toString(Namespaces theNamespaces)
Returns the string representation of this constraint using the given namespaces. Depending on the type of the constraint (OWL axiom, SWRL rule, SPARQL query) the namespaces might be ignored.- Parameters:
theNamespaces
- prefixes to be used for namespaces- Returns:
- string representation of this constraint
-
-