This is an example of the composite design pattern.
⇑ Translate the sentence above by Google ⇑
Related: composite