public class OrConstraint extends Object implements Constraint, ShapeConsumer
| Constructor and Description |
|---|
OrConstraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Vertex v)
Test whether a given vertex satisfies this constraint
|
OrConstraint |
add(Shape shape) |
List<Shape> |
getShapes() |
boolean |
hasPropertyConstraint(org.openrdf.model.URI predicate) |
public OrConstraint 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.