public class ClassAnalyzer extends Object
| Constructor and Description |
|---|
ClassAnalyzer(ShapeManager shapeManager,
OwlReasoner owlReasoner) |
| Modifier and Type | Method and Description |
|---|---|
Shape |
aggregate(org.openrdf.model.Resource classId)
Create a shape that aggregates all the known shapes for a given class.
|
ShapeManager |
getShapeManager() |
void |
merge(Shape shape)
Merge the Or constraints into a PropertyConstraint list.
|
org.openrdf.model.Resource |
mergeTargetClass(List<Shape> shapes) |
void |
pullDown(Shape shape) |
void |
pushUp(Shape shape)
Remove any PropertyConstraints that duplicate constraints in the super class hierarchy.
|
public ClassAnalyzer(ShapeManager shapeManager, OwlReasoner owlReasoner)
public ShapeManager getShapeManager()
public Shape aggregate(org.openrdf.model.Resource classId)
classId - The id for the target class whose shapes are to be aggregated.public void pullDown(Shape shape)
public void pushUp(Shape shape)
shape - public void merge(Shape shape)
shape - The shape whose Or constraints are to be mergedCopyright © 2019. All rights reserved.