Book a Demo

Author Topic: Class Diagram  (Read 5935 times)

sc_kew

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Class Diagram
« on: October 19, 2004, 09:00:50 pm »
Hi.. I'm new to class diagram and have encountered some problems when designing the class behavious. Can anyone explain me the purpose of using class behavious with few detailed examples?  Any books or internet which i can related to?

Thank You.





sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Class Diagram
« Reply #1 on: October 19, 2004, 10:39:49 pm »
Not sure what your after here sc.

Class diagrams are structural not behavioural. The only behavioural content is the assignment of behaviours to specific classes.  That is, to decide which behaviours are contained and exposed by which classes, to generalise behaviours (where advantageous) through inheritance and to constrain behavioural compliance through the use of interface classes.

Specification of actual behaviour is an aspect of communication, sequence, state and activity diagrams.

Perhaps you could be a bit more specific.

hth
Bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.