.. _object_DataObjectGroup: :index:`DataObjectGroup` ------------------------ Description *********** The DataObjectGroup object provides a container to group :ref:`DataObject ` instances while providing the additional properties :ref:`name ` and :ref:`description `. This can be useful to model and use :ref:`DataObject ` hierarchies through :ref:`Repeater ` and :ref:`Gather `. When working with :ref:`Measurement ` objects only, the specialized :ref:`MeasurementGroup ` object can be used instead. :**› Inherits**: :ref:`Object ` :**› Inherited by**: :ref:`MeasurementGroup ` Overview ******** Properties ++++++++++ .. hlist:: :columns: 1 * :ref:`description ` * :ref:`name ` * :ref:`objects ` * :ref:`Object.objectId ` * :ref:`Object.parent ` Methods +++++++ .. hlist:: :columns: 1 * :ref:`Object.deserializeProperties() ` * :ref:`Object.fromJson() ` * :ref:`Object.serializeProperties() ` * :ref:`Object.toJson() ` Signals +++++++ .. hlist:: :columns: 1 * :ref:`objectsDataChanged() ` * :ref:`Object.completed() ` Properties ********** .. _property_DataObjectGroup_description: .. _signal_DataObjectGroup_descriptionChanged: .. index:: single: description description +++++++++++ This property holds a user-defined description for the data object group. :**› Type**: String :**› Signal**: descriptionChanged() :**› Attributes**: Writable .. _property_DataObjectGroup_name: .. _signal_DataObjectGroup_nameChanged: .. index:: single: name name ++++ This property holds a user-defined name for the data object group. :**› Type**: String :**› Signal**: nameChanged() :**› Attributes**: Writable .. _property_DataObjectGroup_objects: .. _signal_DataObjectGroup_objectsChanged: .. index:: single: objects objects +++++++ This property holds a list of :ref:`DataObject ` (or subclass) objects to group. :**› Type**: :ref:`List `\<:ref:`DataObject `> :**› Signal**: objectsChanged() :**› Attributes**: Readonly Signals ******* .. _signal_DataObjectGroup_objectsDataChanged: .. index:: single: objectsDataChanged objectsDataChanged(SignedInteger index) +++++++++++++++++++++++++++++++++++++++ This signal is emitted whenever the :ref:`List.dataChanged() ` signal is emitted, i.e. the item at ``index`` in the :ref:`objects ` list itself emitted the dataChanged() signal.