public function getResourceLink()
    {

        if (is_null($this->resourceLink) && !is_null($this->resourceLinkId)) {
            $this->resourceLink = ResourceLink::fromRecordId($this->resourceLinkId, $this->getDataConnector());
        }

        return $this->resourceLink;

    }
public function getResourceLink()
    {

        if (is_null($this->resourceLink) && !is_null($this->resourceLinkId)) {
            $this->resourceLink = ResourceLink::fromRecordId($this->resourceLinkId, $this->getDataConnector());
        }

        return $this->resourceLink;

    }
public function getResourceLink ( ) { if ( is_null ( $ this -> resourceLink ) && ! is_null ( $ this -> resourceLinkId ) ) { $ this -> resourceLink = ResourceLink :: fromRecordId ( $ this -> resourceLinkId , $ this -> getDataConnector ( ) ) ; } return $ this -> resourceLink ; }
Get resource link.

@return ResourceLink Resource link object
Get resource link .