def get_asset_ids(self):
if not self.is_asset_based_activity():<EOL><INDENT>raise IllegalState()<EOL><DEDENT>else:<EOL><INDENT>ids = []<EOL>for i in self._my_map['<STR_LIT>']:<EOL><INDENT>ids.append(Id(i))<EOL><DEDENT>return IdList(ids)<EOL><DEDENT>
Gets the Ids of any assets associated with this activity.

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