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

1 Answer 1

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.

2
  • 2
    could you please give some examples?
    – Ahmad
    Commented Oct 18, 2014 at 11:32
  • 2
    @Ahmad -- Student enrolls, attends .... . Customer orders, pays, receives returns ..... Member joins, subscribes, votes Commented Dec 17, 2014 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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