Class Constraint

Description

Represents a constraint. A value constraint is a boolean- valued expression of variables and RDF Terms.

  • author: Tobias Gauss <tobias.gauss@web.de>
  • version: $Id: Constraint.html 443 2007-06-01 16:25:38Z cax $

Located in /sparql/Constraint.php (line 17)

Object
   |
   --Constraint
Variable Summary
string $expression
boolean $outer
array $tree
Method Summary
void addExpression (String $exp)
String getExpression ()
void getTree ()
boolean isOuterFilter ()
void setOuterFilter (boolean $boolean)
void setTree ( $tree)
Variables
string $expression (line 23)

The expression string.

  • access: protected
boolean $outer (line 29)

True if it is an outer filter, false if not.

  • access: protected
array $tree = null (line 35)

The expression tree

  • access: protected
Methods
addExpression (line 43)

Adds an expression string.

  • access: public
void addExpression (String $exp)
  • String $exp: the expression String
getExpression (line 53)

Returns the expression string.

  • return: the expression String
  • access: public
String getExpression ()
getTree (line 82)
  • access: public
void getTree ()
isOuterFilter (line 76)

Returns true if this constraint is an outer filter- false if not.

  • access: public
boolean isOuterFilter ()
setOuterFilter (line 66)

Sets the filter type to outer or inner filter.

True for outer false for inner.

  • access: public
void setOuterFilter (boolean $boolean)
  • boolean $boolean
setTree (line 87)
  • access: public
void setTree ( $tree)
  • $tree

Inherited Methods

Inherited From Object

Object::toString()

Documentation generated on Fri, 1 Jun 2007 16:48:38 +0200 by phpDocumentor 1.3.2