def elements(self, value):
        """
        Setter for **self.__elements** attribute.

        :param value: Attribute value.
        :type value: OrderedDict or dict
        """

        if value is not None:
            assert type(value) is dict, "'{0}' attribute: '{1}' type is not  dict'!".format("elements", value)
        self.__elements = value