public interface Constraint
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Vertex v)
Test whether a given vertex satisfies this constraint
|
Shape |
findShapeByTargetClass(org.openrdf.model.URI targetClass) |
Shape |
getDeclaringShape() |
List<Shape> |
getShapes() |
boolean |
hasPropertyConstraint(org.openrdf.model.URI predicate) |
boolean accept(Vertex v)
v - The vertex to be testedShape findShapeByTargetClass(org.openrdf.model.URI targetClass)
boolean hasPropertyConstraint(org.openrdf.model.URI predicate)
predicate - Shape getDeclaringShape()
Copyright © 2019. All rights reserved.