2

I know some nouns in the use case scenario are candidate to be class, for example member, customer, student ....

I can find such entities and some attributes of them, but my problem is that I can't easily find any method for these classes.

Which part of use cases are candidate for methods or functions of classes?

Please give some examples.
For example in a system for hospital, Patient or Doctor are classes, what are the functions for these classes?

2

If the nouns are the classes the verbs are the functions. In your use case the nouns presumably do things? These are the candidates for functions of the classes.

| improve this answer | |
  • 2
    could you please give some examples? – Ahmad Oct 18 '14 at 11:32
  • 2
    @Ahmad -- Student enrolls, attends .... . Customer orders, pays, receives returns ..... Member joins, subscribes, votes – James Anderson Dec 17 '14 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.