Package com.complexible.stardog.icv
Interface Constraint
- All Superinterfaces:
Copyable<Constraint>
Interface to represent an integrity constraint.
- Since:
- 0.7
- Version:
- 6.0
- Author:
- Michael Grove
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif explaining this constraint is supported.toString(Namespaces theNamespaces) Returns the string representation of this constraint using the given namespaces.
-
Method Details
-
supportsViolationExplanation
boolean supportsViolationExplanation()Returnstrueif explaining this constraint is supported. Explanations are supported for constraints expressed as OWL axioms but not for SPARQL constraints. -
toString
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
-