I have question regarding composite pattern.
Is the base class "Component" act like a pointer to point leaf object in "Composite" class?
Edit: Let me ask my question in following words. "What is the relation between Composite and Component class?"
Here is the uml class diagram of the pattern.