I'm using Java Eclipse EMF to model my Composite Pattern. What would be the right UML representation to model aa new class (Root) which implements a unique root directory. This is the original Composite pattern.
This is my representation:
Target representation would be:
root |___ dir1 |___ dir2 |___ dir3 | |___ fileA | |___ dir4 | |__ fileB | |___ file1