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
Methods inherited from interface org.w3c.rdf.model.Model |
add, contains, create, duplicate, elements, find, getNodeFactory, getSourceURI, isEmpty, isMutable, remove, setSourceURI, size |
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