org.d2rq
Class ResourceCollection

java.lang.Object
  extended by org.d2rq.ResourceCollection

public class ResourceCollection
extends Object

A collection of IRI-identified resources that are generated by a shared rule (like a d2rq:ClassMap or rr:SubjectMap). The class provides access to descriptions of the collection.

Author:
Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
ResourceCollection(CompiledMapping mapping, SQLConnection connection, NodeMaker entityMaker, DatabaseOp entityTable, Collection<TripleRelation> entityDescription)
           
 
Method Summary
 Model getInventoryModel()
           
 Model getInventoryModel(int limit)
           
 boolean mayContain(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceCollection

public ResourceCollection(CompiledMapping mapping,
                          SQLConnection connection,
                          NodeMaker entityMaker,
                          DatabaseOp entityTable,
                          Collection<TripleRelation> entityDescription)
Method Detail

getInventoryModel

public Model getInventoryModel()

getInventoryModel

public Model getInventoryModel(int limit)

mayContain

public boolean mayContain(Node node)