|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraid.core.model.Deleting
public class Deleting
Utility methods for delete operations.
| Constructor Summary | |
|---|---|
Deleting()
|
|
| Method Summary | |
|---|---|
static void |
delete(com.hp.hpl.jena.ontology.OntModel ontModel,
com.hp.hpl.jena.graph.Node subject,
com.hp.hpl.jena.graph.Node predicate,
com.hp.hpl.jena.graph.Node object)
Deletes a given triple from the model. |
static void |
delete(com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
|
static void |
deleteAll(java.util.Iterator resources)
|
static void |
deleteAll(com.hp.hpl.jena.rdf.model.Resource resource)
|
static void |
deleteOperand(com.hp.hpl.jena.ontology.UnionClass unionClass,
com.hp.hpl.jena.rdf.model.Resource operand)
|
static boolean |
isDeletable(java.util.Collection resources)
|
static boolean |
isDeletable(java.util.Iterator resources)
Checks if a collection of resources can be deleted from this model. |
static boolean |
isDeletableReference(com.hp.hpl.jena.rdf.model.Resource resource)
Checks if a given resource is only directly used in triples stored in read/write graphs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Deleting()
| Method Detail |
|---|
public static void delete(com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
public static void delete(com.hp.hpl.jena.ontology.OntModel ontModel,
com.hp.hpl.jena.graph.Node subject,
com.hp.hpl.jena.graph.Node predicate,
com.hp.hpl.jena.graph.Node object)
ontModel - the OntModel to delete fromsubject - the subject Nodepredicate - the predicate Nodeobject - the object Nodepublic static void deleteAll(com.hp.hpl.jena.rdf.model.Resource resource)
public static void deleteAll(java.util.Iterator resources)
public static void deleteOperand(com.hp.hpl.jena.ontology.UnionClass unionClass,
com.hp.hpl.jena.rdf.model.Resource operand)
public static boolean isDeletable(java.util.Collection resources)
public static boolean isDeletableReference(com.hp.hpl.jena.rdf.model.Resource resource)
resource - the resource to test
public static boolean isDeletable(java.util.Iterator resources)
resources - the resources to delete
Statements.isDeletable(Statement)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||