def set_item_ids(self, item_ids):
if self.get_item_ids_metadata().is_read_only():<EOL><INDENT>raise NoAccess()<EOL><DEDENT>for item_id in item_ids:<EOL><INDENT>if not self.my_osid_object_form._is_valid_id(item_id):<EOL><INDENT>raise InvalidArgument()<EOL><DEDENT><DEDENT>if self.my_osid_object_form._my_map['<STR_LIT>'][<NUM_LIT:0>]:<EOL><INDENT>raise IllegalState()<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] = [str(i) for i in item_ids]<EOL>
the target Item

        This can only be set if there is no learning objective set