Returns the view item that is linked with this item.
        
        :return     <XGanttViewItem>

def viewItem(self):
        """
        Returns the view item that is linked with this item.
        
        :return     <XGanttViewItem>
        """
        if type(self._viewItem).__name__ == 'weakref':
            return self._viewItem()
        return self._viewItem