1

In the example below I would like to have an interface that define a data structure schema with some properties, here foo is a static property of the class. The last inherited class override the property to extend its value. We can imagine a more concrete case where I have a Temperature sensor with a static property that indicate the maximum measurable temperature. A more sensitive sensor is still a sensor that can be used as a "standard" sensor, but it extend the range of measurement.

What is the correct way to write this in UML 2.5?

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.