def get_assessment_ids(self):
if not self.is_assessment_based_activity():<EOL><INDENT>raise IllegalState()<EOL><DEDENT>else:<EOL><INDENT>return [Id(a) for a in self._my_map['<STR_LIT>']]<EOL><DEDENT>
Gets the Ids of any assessments associated with this activity.

        return: (osid.id.IdList) - list of assessment Ids
        raise:  IllegalState - is_assessment_based_activity() is false
        compliance: mandatory - This method must be implemented.