def comparable(self):
    """str: comparable representation of the path specification."""
    string_parts = []

    if self.data_stream:
      string_parts.append('data stream: {0:s}'.format(self.data_stream))
    if self.inode is not None:
      string_parts.append('inode: {0:d}'.format(self.inode))
    if self.location is not None:
      string_parts.append('location: {0:s}'.format(self.location))

    return self._GetComparable(sub_comparable_string=', '.join(string_parts))
str: comparable representation of the path specification.