Class GraphPattern

Description

A graph pattern which consists of triple patterns, optional or union graph patterns and filters.



History:

Located in /sparql/GraphPattern.php (line 19)

Object
   |
   --GraphPattern
Variable Summary
boolean $open
Method Summary
GraphPattern GraphPattern ()
void addConstraint (Constraint $cons)
void addOptional (integer $pattern)
void addTriplePattern (array $trpP)
void addUnion (integer $pattern)
String getGraphname ()
integer getId ()
integer getOptional ()
Array getTriplePattern ()
integer getUnion ()
void setGraphname (String $name)
void setId (integer $id)
Variables
boolean $isConstructPattern (line 54)
  • var: TRUE if the GraphPattern is a construct pattern.
  • access: public
boolean $open (line 49)
  • var: TRUE if the pattern is open- FALSE if closed.
  • access: public
int $patternId (line 60)
  • var: The GraphPatterns id.
  • access: public
Methods
Constructor GraphPattern (line 66)

Constructor

  • access: public
GraphPattern GraphPattern ()
addConstraint (line 143)

Adds a Constraint to the GraphPattern.

  • access: public
void addConstraint (Constraint $cons)
addOptional (line 152)

Adds a pointer to an optional graphPattern.

  • access: public
void addOptional (integer $pattern)
  • integer $pattern
addTriplePattern (line 133)

Adds a List of QueryTriples to the GraphPattern.

  • access: public
void addTriplePattern (array $trpP)
  • array $trpP
addUnion (line 162)

Adds a pointer to a union graphPattern.

  • access: public
void addUnion (integer $pattern)
  • integer $pattern
getConstraint (line 96)

Returns a constraint if there is one false if not.

  • access: public
Constraint getConstraint ()
getGraphname (line 78)

Returns the graphname.

  • access: public
String getGraphname ()
getId (line 182)

Returns the GraphPatterns id.

  • access: public
integer getId ()
getOptional (line 105)

Returns a pointer to an optional graph pattern.

  • access: public
integer getOptional ()
getTriplePattern (line 87)

Returns the triple pattern of the graph pattern.

  • access: public
Array getTriplePattern ()
getUnion (line 114)

Returns a pointer to a union graph pattern.

  • access: public
integer getUnion ()
setGraphname (line 124)

Sets the graphname.

  • access: public
void setGraphname (String $name)
  • String $name
setId (line 173)

Sets the GraphPatterns Id.

  • access: public
void setId (integer $id)
  • integer $id

Inherited Methods

Inherited From Object

Object::toString()

Documentation generated on Fri, 13 Jan 2006 07:48:13 +0100 by phpDocumentor 1.3.0RC4