public function setId($id)
    {
        $id = (string)$id;

        if(!isset($this->__flywheelInitialId)) {
            $this->__flywheelInitialId = $id;
        }

        $this->__flywheelDocId = $id;

        return $id;
    }
public function setId($id)
    {
        $id = (string)$id;

        if(!isset($this->__flywheelInitialId)) {
            $this->__flywheelInitialId = $id;
        }

        $this->__flywheelDocId = $id;

        return $id;
    }
public function setId ( $ id ) { $ id = ( string ) $ id ; if ( ! isset ( $ this -> __flywheelInitialId ) ) { $ this -> __flywheelInitialId = $ id ; } $ this -> __flywheelDocId = $ id ; return $ id ; }
Set the document ID.

@param string $id
Set the document ID .