org.w3c.rdf.model
Interface SetModel

All Superinterfaces:
Model, RDFNode, Resource

public interface SetModel
extends Model

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

See Also:
SetOperations

Method Summary
 SetModel intersect(Model m)
          Set intersection with another model.
 SetModel subtract(Model m)
          Set difference with another model.
 SetModel unite(Model m)
          Set union with another model.
 
Methods inherited from interface org.w3c.rdf.model.Model
add, contains, create, duplicate, elements, find, getNodeFactory, getSourceURI, isEmpty, isMutable, remove, setSourceURI, size
 
Methods inherited from interface org.w3c.rdf.model.Resource
getLocalName, getNamespace, getURI
 
Methods inherited from interface org.w3c.rdf.model.RDFNode
getLabel
 

Method Detail

unite

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

subtract

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

intersect

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