public function setSelfLink($href, array $meta=[], $level=Document::LEVEL_RESOURCE) {
		$this->ensureResourceObject();
		
		if ($level === Document::LEVEL_RESOURCE) {
			$this->resource->setSelfLink($href, $meta);
		}
		else {
			parent::setSelfLink($href, $meta, $level);
		}
	}
public function setSelfLink($href, array $meta=[], $level=Document::LEVEL_RESOURCE) {
		$this->ensureResourceObject();
		
		if ($level === Document::LEVEL_RESOURCE) {
			$this->resource->setSelfLink($href, $meta);
		}
		else {
			parent::setSelfLink($href, $meta, $level);
		}
	}
public function setSelfLink ( $ href , array $ meta = [ ] , $ level = Document :: LEVEL_RESOURCE ) { $ this -> ensureResourceObject ( ) ; if ( $ level === Document :: LEVEL_RESOURCE ) { $ this -> resource -> setSelfLink ( $ href , $ meta ) ; } else { parent :: setSelfLink ( $ href , $ meta , $ level ) ; } }
set the self link on the resource

@param string $href
@param array  $meta optional
set the self link on the resource