@utilities.arguments_not_none<EOL><INDENT>def set_children(self, child_ids):<DEDENT>
if not self._supports_simple_sequencing():<EOL><INDENT>raise AttributeError('<STR_LIT>')<EOL><DEDENT>if not isinstance(child_ids, list):<EOL><INDENT>raise errors.InvalidArgument()<EOL><DEDENT>if self.get_children_metadata().is_read_only():<EOL><INDENT>raise errors.NoAccess()<EOL><DEDENT>idstr_list = []<EOL>for object_id in child_ids:<EOL><INDENT>if not self._is_valid_id(object_id):<EOL><INDENT>raise errors.InvalidArgument()<EOL><DEDENT>if str(object_id) not in idstr_list:<EOL><INDENT>idstr_list.append(str(object_id))<EOL><DEDENT><DEDENT>self._my_map['<STR_LIT>'] = idstr_list<EOL>
Sets the children.

        arg:    child_ids (osid.id.Id[]): the children``Ids``
        raise:  InvalidArgument - ``child_ids`` is invalid
        raise:  NoAccess - ``Metadata.isReadOnly()`` is ``true``
        *compliance: mandatory -- This method must be implemented.*