public class AndConstraint extends Object implements Constraint, ShapeConsumer
| Constructor and Description |
|---|
AndConstraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Vertex v)
Test whether a given vertex satisfies this constraint
|
AndConstraint |
add(Shape shape) |
List<Shape> |
getShapes() |
boolean |
hasPropertyConstraint(org.openrdf.model.URI predicate) |
public AndConstraint add(Shape shape)
add in interface ShapeConsumerpublic boolean accept(Vertex v)
Constraintaccept in interface Constraintv - The vertex to be testedpublic boolean hasPropertyConstraint(org.openrdf.model.URI predicate)
hasPropertyConstraint in interface ConstraintCopyright © 2016. All rights reserved.