Class Quad

Description

A Triple in a RDF dataset, consisting of four Jena Nodes: graphName, subject, predicate, and object.

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

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


	
			
Variable Summary
Method Summary
Quad Quad (mixed $graphName, mixed $subject, mixed $predicate, mixed $object)
boolean equals (mixed $quad)
statement getStatement ()
void setGraphName (mixed $graphName)
string toString ()
Variables
Resource $graphName (line 26)

Name of the NamedGraphMem.

  • access: private
Statement $statement (line 34)

Statement

  • access: private
Methods
Constructor Quad (line 46)

Constructor Creates a Quad from four Nodes.

  • access: public
Quad Quad (mixed $graphName, mixed $subject, mixed $predicate, mixed $object)
equals (line 142)

Checks if two quads are equal.

  • access: public
boolean equals (mixed $quad)
getGraphName (line 75)

Returns the graph name.

  • access: public
Resource getGraphName ()
getObject (line 119)

Returns the object.

  • access: public
Resource getObject ()
getPredicate (line 108)

Returns the predicate.

  • access: public
Resource getPredicate ()
getStatement (line 130)

Returns the statement(subject,predicate,object).

  • access: public
statement getStatement ()
getSubject (line 97)

Returns the subject.

  • access: public
Resource getSubject ()
setGraphName (line 64)

Sets the graph name.

  • access: public
void setGraphName (mixed $graphName)
toString (line 86)

Return a human-readable (sort of) string "graphname { s p o . }" describing the quad.

string toString ()

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