public class ModelComparisonHelper extends Object
| Constructor | Description |
|---|---|
ModelComparisonHelper() |
| Modifier and Type | Method | Description |
|---|---|---|
static Set<org.apache.jena.rdf.model.Statement> |
getMissingStatements(org.apache.jena.rdf.model.Model modelA,
org.apache.jena.rdf.model.Model modelB) |
Collects statements that can be found in model A but not in model B.
|
static boolean |
modelContainsStatement(org.apache.jena.rdf.model.Model model,
org.apache.jena.rdf.model.Statement s) |
Checks whether the given statement can be found in the given model.
|
public static Set<org.apache.jena.rdf.model.Statement> getMissingStatements(org.apache.jena.rdf.model.Model modelA, org.apache.jena.rdf.model.Model modelB)
modelA - the model that should be fully contained inside model B.modelB - the model that should fully contain model A.public static boolean modelContainsStatement(org.apache.jena.rdf.model.Model model,
org.apache.jena.rdf.model.Statement s)
model - the model that might contain the given statements - the statement which could be contained in the given modeltrue if the statement can be found in the model,
false otherwiseCopyright © 2017. All rights reserved.