org.w3c.rdf.model
Interface SetModel


public abstract interface SetModel
extends RDFModel

An RDF model that natively supports set operations `union', `difference' and `intersection'.

See Also:
SetOperations

Method Summary
 SetModel intersect(RDFModel m)
          Set intersection with another model.
 SetModel subtract(RDFModel m)
          Set difference with another model.
 SetModel unite(RDFModel m)
          Set union with another model.
 
Methods inherited from interface org.w3c.rdf.model.RDFModel
add, contains, create, createLiteral, createResource, createTriple, duplicate, elements, find, getSourceURI, remove, setSourceURI, size
 
Methods inherited from interface org.w3c.rdf.model.Resource
getURI
 
Methods inherited from interface org.w3c.rdf.model.RDFNode
getLabel
 

Method Detail

unite

public SetModel unite(RDFModel m)
Set union with another model.
Returns:
this, i.e. the model itself

subtract

public SetModel subtract(RDFModel m)
Set difference with another model.
Returns:
this, i.e. the model itself

intersect

public SetModel intersect(RDFModel m)
Set intersection with another model.
Returns:
this, i.e. the model itself