Class NamedGraphDb

Description

Persistent NamedGraph implementation that extends a DbModel.

The graphName is not stored in the database. As soon as the namedGraph is added to a RDF dataset the graphName is saved.

  • access: public
  • author: Daniel Westphal (http://www.d-westphal.de)
  • version: $Id: NamedGraphDb.html,v 1.10 2006/06/26 12:34:19 tgauss Exp $

Located in /dataset/NamedGraphDb.php (line 17)

Object
   |
   --Model
      |
      --DbModel
         |
         --NamedGraphDb
Variable Summary
string $graphName
Method Summary
NamedGraphDb NamedGraphDb (mixed &$dbConnection, mixed $modelURI, mixed $modelID, mixed $graphName, [ $baseURI = NULL])
string getGraphName ()
void setGraphName (mixed $graphName)
Variables
string $graphName (line 26)

Name of the NamedGraphDb

  • access: private

Inherited Variables

Inherited from DbModel

DbModel::$dbConn
DbModel::$modelID
DbModel::$modelURI

Inherited from Model

Model::$baseURI
Model::$bNodeCount
Methods
Constructor NamedGraphDb (line 39)

Constructor Do not call this directly.

Use the method getModel,getNewModel or putModel of the Class NamedGraphDb instead.

  • access: public
NamedGraphDb NamedGraphDb (mixed &$dbConnection, mixed $modelURI, mixed $modelID, mixed $graphName, [ $baseURI = NULL])
  • $baseURI
getGraphName (line 65)

Returns the graph name.

  • access: public
string getGraphName ()
setGraphName (line 54)

Sets the graph name.

  • access: public
void setGraphName (mixed $graphName)

Inherited Methods

Inherited From DbModel

DbModel::DbModel()
DbModel::add()
DbModel::addModel()
DbModel::addNamespace()
DbModel::addParsedNamespaces()
DbModel::addWithoutDuplicates()
DbModel::close()
DbModel::contains()
DbModel::containsAll()
DbModel::containsAny()
DbModel::delete()
DbModel::equals()
DbModel::find()
DbModel::findCount()
DbModel::findFirstMatchingStatement()
DbModel::findRegex()
DbModel::findVocabulary()
DbModel::getMemModel()
DbModel::getParsedNamespaces()
DbModel::intersect()
DbModel::isEmpty()
DbModel::iterFind()
DbModel::rdqlQuery()
DbModel::rdqlQueryAsIterator()
DbModel::reify()
DbModel::remove()
DbModel::removeNamespace()
DbModel::replace()
DbModel::saveAs()
DbModel::setBaseURI()
DbModel::size()
DbModel::subtract()
DbModel::toString()
DbModel::toStringIncludingTriples()
DbModel::unite()
DbModel::writeAsHtml()
DbModel::writeAsHtmlTable()
DbModel::writeRdfToString()
DbModel::_checkBaseURI()
DbModel::_checkNamespace()
DbModel::_containsRow()
DbModel::_convertRecordSetToMemModel()
DbModel::_createDynSqlPart_SPO()
DbModel::_getNodeFlag()
DbModel::_getRecordSet()

Inherited From Model

Model::Model()
Model::findForward()
Model::getBaseURI()
Model::getMemModelByRDQL()
Model::getOntModel()
Model::getResModel()
Model::getUniqueResourceURI()
Model::load()
Model::sparqlQuery()
Model::visualize()
Model::_addStatementFromAnotherModel()

Inherited From Object

Object::toString()

Documentation generated on Mon, 26 Jun 2006 14:25:42 +0200 by phpDocumentor 1.3.0RC6