Description
Its a follow up question of writing use cases.
Taking from nouns defined in my user story and requirement I found the following candidates to be classes:
- User
- Question
- Session
- Attempt/UserAnswer
- Score
- Category/Topic
- Hint
I think the following relationship holds between these objects:
- User (o2m) Session
- User (o2m) Attempts
- User (m2m) Question
- Question (m2o) Category
- Question (m2m) Attempt
- Question (o2m) Hint
- Attempt (o2o) Score
- Session (m2m) Question
Questions
Do I need to declare collection type for each objects like
Users
,Questions
,Sessions
andAttempts
?How to identify the object relationship between class of objects defined above? and who is the owner of the relationship?
Is it a good idea to find behaviours after finding object relationships?
Am I on the correct level of abstraction? or missing any class?