private function setPaginationLink($name, $value)
{
if (!is_string($value) and !is_null($value)) {
throw new ValidationException('property "' . $name . '" has to be a string or null, "' . gettype($value) . '" given.');
}
if (!is_null($value)) {
$this->container->set($name, strval($value));
}
return $this;
}