G
GTi
What is the best method for doing this:
Connection class containing:
- Connection handle
- Connection name
- connection properties
- disconnection of connection
Group class containing:
- connection handle
- group handle
- group name
- group properties
- disconnection of group
Item class containing:
- connection handle
- group handle
- item handle
- item name
- item properties
- disconnection of item
A Connection can contain 1...n groups and
a group can cointain 1...n items.
It looks like a tree.
What is the best design of this class?
Examples og URL with samples is prefered since I am a novice.
Best regards
GTi
Connection class containing:
- Connection handle
- Connection name
- connection properties
- disconnection of connection
Group class containing:
- connection handle
- group handle
- group name
- group properties
- disconnection of group
Item class containing:
- connection handle
- group handle
- item handle
- item name
- item properties
- disconnection of item
A Connection can contain 1...n groups and
a group can cointain 1...n items.
It looks like a tree.
What is the best design of this class?
Examples og URL with samples is prefered since I am a novice.
Best regards
GTi