/**
  * Recursively create a Condition from a Description
  *
  * @param Description $description
  *
  * @return Condition
  */
 public function mapDescriptionToCondition(Description $description)
 {
     return $this->dispatchingDescriptionInterpreter->interpretDescription($description);
 }
 /**
  * Create a new QueryContainer object that can be used to obtain results
  * for the given description. The result is stored in $this->queries
  * using a numeric key that is returned as a result of the function.
  * Returns -1 if no query was created.
  *
  * @param Description $description
  *
  * @return integer
  */
 public function getQuerySegmentFrom(Description $description)
 {
     $querySegment = $this->dispatchingDescriptionInterpreter->interpretDescription($description);
     $this->lastQuerySegmentId = $this->registerQuerySegment($querySegment);
     return $this->lastQuerySegmentId;
 }