Originally posted by Pravin Kumar:
Hi all,
I wanted to know if you need to show attributes and operation. I know for sure that you need to show operation in class diagram that is used in sequence diagram.
So do they expect us to "completely" formulate all the attributes and operation or just mention as and when used in any diagram (keeping in mind that if i use a operation name in sequence diagram ONLY THEN i need to metion in class diagram). Is my understanding correct?
Thanks in advance.
Pravin Kumar
It is not mandatory to show attributes or operations in your class diagram. I did not show either attributes or operations but still used operations in my sequence diagram. If you plan to show the class diagram at a conceptual level then you can omit attributes and operations and include them only at key places.
Good luck