docs: def getStates(self):
          """Get all :class:`rtcclient.models.State` objects of this workitem
  
          :return: a :class:`list` contains all the
              :class:`rtcclient.models.State` objects
          :rtype: list
          """
  
          cust_attr = (self.raw_data.get("rtc_cm:state")
                           .get("@rdf:resource")
                           .split("/")[-2])
          return self.rtc_obj._get_paged_resources("State",
                                                   projectarea_id=self.contextId,
                                                   customized_attr=cust_attr,
                                                   page_size="50")