If I have to define an invariant to state that the age of a person requesting a loan should be greater than 18 for the attached class diagram would this be
context Person
inv: age > 18
or
context Person
inv: self.age > 18
and what is the difference between the two?
Thank you for your guidance