next up previous contents
Next: Lecture 3: Sequences, Collaborations, Up: Lecture 2: Classes, Objects, Previous: Derived Attribute

Commentary

UML uses OCL to express constraints. /profit is the derived attibute. Derivation formula is shown at the bottom of the class diagram. Derived attributes are always calculated and never read from previously stored values.



Ananda Amatya
11/3/1999