public function __construct($href, array $data = array(), $title = null, $name = null, $hreflang = null)
{
if (!$href instanceof SelfLink) {
$href = $this->createLink($href, $title, $name, $hreflang);
}
$this->setLink($href);
$this->setData($data);
}