public class NotConstraint extends Object implements Constraint
| Constructor and Description |
|---|
NotConstraint() |
| 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() |
Shape |
getShape() |
List<Shape> |
getShapes() |
boolean |
hasPropertyConstraint(org.openrdf.model.URI predicate) |
void |
setDeclaringShape(Shape s) |
void |
setShape(Shape shape) |
public void setShape(Shape shape)
public Shape getShape()
public boolean accept(Vertex v)
Constraintaccept in interface Constraintv - The vertex to be testedpublic boolean hasPropertyConstraint(org.openrdf.model.URI predicate)
hasPropertyConstraint in interface Constraintpublic Shape findShapeByTargetClass(org.openrdf.model.URI targetClass)
findShapeByTargetClass in interface Constraintpublic List<Shape> getShapes()
getShapes in interface Constraintpublic Shape getDeclaringShape()
getDeclaringShape in interface Constraintpublic void setDeclaringShape(Shape s)
Copyright © 2019. All rights reserved.