Parent: Difference between revisions

From Grooper Wiki
No edit summary
No edit summary
Line 5: Line 5:


The parent node defines [[Inheritance|inheritance]] for children objects created underneath.  It controls what child objects can be created underneath it, as well as what information is passed to and from the parent and child nodes.
The parent node defines [[Inheritance|inheritance]] for children objects created underneath.  It controls what child objects can be created underneath it, as well as what information is passed to and from the parent and child nodes.
* The parent node will always determine what objects can be created as children.  For example, a '''Data Table''' can only have '''Data Columns''' as its children.
* The parent node may simply be a folder containing child objects, as is the case in a '''Content Model's''' '''Local Resources''' folder.
* The parent node may have a complex inheritance relationship.
** For example, a '''Data Type's''' children '''Value Readers''' will pass all results they return to the parent '''Data Type'''.  Those results will then be collated according to the '''Data Type's''' configuration.
</onlyinclude>
</onlyinclude>

Revision as of 13:10, 9 December 2022

In terms of a Node Tree structure, a "parent" is a node that has child objects (nodes created one level underneath the parent).

The parent node defines inheritance for children objects created underneath. It controls what child objects can be created underneath it, as well as what information is passed to and from the parent and child nodes.

  • The parent node will always determine what objects can be created as children. For example, a Data Table can only have Data Columns as its children.
  • The parent node may simply be a folder containing child objects, as is the case in a Content Model's Local Resources folder.
  • The parent node may have a complex inheritance relationship.
    • For example, a Data Type's children Value Readers will pass all results they return to the parent Data Type. Those results will then be collated according to the Data Type's configuration.