{ * File: W29b.sml.txt * Author: Michael Schrefl, Bernd Neumayr, Manfred Jeusfeld * Created: 15-Nov-2013/M.Jeusfeld (20-Nov-2013/M.Jeusfeld) * ------------------------------------------------------ * derived from E4; violates axiom "instantiation and specialization of relationships" * } Mileage in ALABEL end MetricLinearMeasure in OBJECT end VolvoV50 in OBJECT with linkDR m1: "13km" {* restricts the range to 13km for all instances of VolvoV50 *} linkDR m2: km end VolvoV50!m1 with sourcelevel s: 1 targetlevel t: 0 label l: Mileage end VolvoV50!m2 with sourcelevel s: 1 targetlevel t: 1 label l: Mileage end km in OBJECT with IN c1: MetricLinearMeasure end myV50 in OBJECT with IN c1: VolvoV50 linkDR m1: "12km" {* !!! this clashes with the range constraint induced by VolvoV50!m1 *} end "12km" in OBJECT with IN c1: km end "13km" in OBJECT with IN c1: km end myV50!m1 with sourcelevel s: 0 targetlevel t: 0 label l: Mileage end