public final class Constraints extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Constraints.AbstractPropertyConstraint<T extends Constraints.AbstractPropertyConstraint<T>> |
static class |
Constraints.Cardinality |
static interface |
Constraints.Describable |
static class |
Constraints.InversePropertyConstraint |
static class |
Constraints.NodeKind |
static class |
Constraints.PropertyConstraint |
static class |
Constraints.Shape |
| Modifier and Type | Method and Description |
|---|---|
static Constraints |
constraints() |
static Constraints.InversePropertyConstraint |
inversePropertyConstraint(URI predicate) |
Set<Individual<?,?>> |
nodes(DataSet dataSet) |
Constraints.Shape |
nodeShape(Individual<?,?> individual) |
static Constraints.PropertyConstraint |
propertyConstraint(URI predicate) |
static Constraints.Shape |
shape() |
List<Constraints.Shape> |
shapes() |
String |
toString() |
Set<URI> |
types() |
Constraints.Shape |
typeShape(URI type) |
Constraints |
withNodeShape(Individual<?,?> individual,
Constraints.Shape shape) |
Constraints |
withTypeShape(URI type,
Constraints.Shape shape) |
public List<Constraints.Shape> shapes()
public Set<Individual<?,?>> nodes(DataSet dataSet)
public Constraints.Shape typeShape(URI type)
public Constraints.Shape nodeShape(Individual<?,?> individual)
public Constraints withTypeShape(URI type, Constraints.Shape shape)
public Constraints withNodeShape(Individual<?,?> individual, Constraints.Shape shape)
public static Constraints.Shape shape()
public static Constraints constraints()
public static Constraints.PropertyConstraint propertyConstraint(URI predicate)
public static Constraints.InversePropertyConstraint inversePropertyConstraint(URI predicate)
Copyright (C) 2014-2016, Center for Open Middleware