From 18944984673f5701cf0e0168d06ca9ee5e3e0bcb Mon Sep 17 00:00:00 2001 From: ehennestad Date: Tue, 28 Apr 2026 22:45:44 +0200 Subject: [PATCH] fix: regenerate display labels --- code/types/latest/+openminds/+core/+actors/Affiliation.m | 2 +- code/types/latest/+openminds/+core/+actors/Organization.m | 2 +- .../types/latest/+openminds/+sands/+mathematicalshape/Ellipse.m | 2 +- .../latest/+openminds/+sands/+mathematicalshape/Rectangle.m | 2 +- code/types/v1.0/+openminds/+core/+actors/Affiliation.m | 2 +- code/types/v1.0/+openminds/+core/+actors/Contribution.m | 2 +- code/types/v2.0/+openminds/+core/+actors/Affiliation.m | 2 +- code/types/v2.0/+openminds/+core/+actors/Contribution.m | 2 +- code/types/v5.0/+openminds/+core/+actors/Affiliation.m | 2 +- code/types/v5.0/+openminds/+core/+actors/Organization.m | 2 +- code/types/v5.0/+openminds/+sands/+mathematicalshape/Ellipse.m | 2 +- .../types/v5.0/+openminds/+sands/+mathematicalshape/Rectangle.m | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/code/types/latest/+openminds/+core/+actors/Affiliation.m b/code/types/latest/+openminds/+core/+actors/Affiliation.m index de519e1a..3e32d605 100644 --- a/code/types/latest/+openminds/+core/+actors/Affiliation.m +++ b/code/types/latest/+openminds/+core/+actors/Affiliation.m @@ -52,7 +52,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('%s', obj.memberOf); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/latest/+openminds/+core/+actors/Organization.m b/code/types/latest/+openminds/+core/+actors/Organization.m index 7e43b612..0bea9ac0 100644 --- a/code/types/latest/+openminds/+core/+actors/Organization.m +++ b/code/types/latest/+openminds/+core/+actors/Organization.m @@ -117,7 +117,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('%s', obj.fullName); + str = obj.name; end end end diff --git a/code/types/latest/+openminds/+sands/+mathematicalshape/Ellipse.m b/code/types/latest/+openminds/+sands/+mathematicalshape/Ellipse.m index 25b4196d..04d700b6 100644 --- a/code/types/latest/+openminds/+sands/+mathematicalshape/Ellipse.m +++ b/code/types/latest/+openminds/+sands/+mathematicalshape/Ellipse.m @@ -44,7 +44,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('ellipse(r1=%s, r2=%s)', obj.semiMajorAxis, obj.semiMinorAxis); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/latest/+openminds/+sands/+mathematicalshape/Rectangle.m b/code/types/latest/+openminds/+sands/+mathematicalshape/Rectangle.m index 7602c405..5d340929 100644 --- a/code/types/latest/+openminds/+sands/+mathematicalshape/Rectangle.m +++ b/code/types/latest/+openminds/+sands/+mathematicalshape/Rectangle.m @@ -52,7 +52,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('rectangle(L=%s, W=%s)', obj.length, obj.width); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/v1.0/+openminds/+core/+actors/Affiliation.m b/code/types/v1.0/+openminds/+core/+actors/Affiliation.m index 471ef638..3f76b124 100644 --- a/code/types/v1.0/+openminds/+core/+actors/Affiliation.m +++ b/code/types/v1.0/+openminds/+core/+actors/Affiliation.m @@ -58,7 +58,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('%s', obj.memberOf); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/v1.0/+openminds/+core/+actors/Contribution.m b/code/types/v1.0/+openminds/+core/+actors/Contribution.m index 552d657e..8930decd 100644 --- a/code/types/v1.0/+openminds/+core/+actors/Contribution.m +++ b/code/types/v1.0/+openminds/+core/+actors/Contribution.m @@ -52,7 +52,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('%s (%s)', obj.contributor, obj.type); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/v2.0/+openminds/+core/+actors/Affiliation.m b/code/types/v2.0/+openminds/+core/+actors/Affiliation.m index 471ef638..3f76b124 100644 --- a/code/types/v2.0/+openminds/+core/+actors/Affiliation.m +++ b/code/types/v2.0/+openminds/+core/+actors/Affiliation.m @@ -58,7 +58,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('%s', obj.memberOf); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/v2.0/+openminds/+core/+actors/Contribution.m b/code/types/v2.0/+openminds/+core/+actors/Contribution.m index 552d657e..8930decd 100644 --- a/code/types/v2.0/+openminds/+core/+actors/Contribution.m +++ b/code/types/v2.0/+openminds/+core/+actors/Contribution.m @@ -52,7 +52,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('%s (%s)', obj.contributor, obj.type); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/v5.0/+openminds/+core/+actors/Affiliation.m b/code/types/v5.0/+openminds/+core/+actors/Affiliation.m index de519e1a..3e32d605 100644 --- a/code/types/v5.0/+openminds/+core/+actors/Affiliation.m +++ b/code/types/v5.0/+openminds/+core/+actors/Affiliation.m @@ -52,7 +52,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('%s', obj.memberOf); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/v5.0/+openminds/+core/+actors/Organization.m b/code/types/v5.0/+openminds/+core/+actors/Organization.m index 7e43b612..0bea9ac0 100644 --- a/code/types/v5.0/+openminds/+core/+actors/Organization.m +++ b/code/types/v5.0/+openminds/+core/+actors/Organization.m @@ -117,7 +117,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('%s', obj.fullName); + str = obj.name; end end end diff --git a/code/types/v5.0/+openminds/+sands/+mathematicalshape/Ellipse.m b/code/types/v5.0/+openminds/+sands/+mathematicalshape/Ellipse.m index 25b4196d..04d700b6 100644 --- a/code/types/v5.0/+openminds/+sands/+mathematicalshape/Ellipse.m +++ b/code/types/v5.0/+openminds/+sands/+mathematicalshape/Ellipse.m @@ -44,7 +44,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('ellipse(r1=%s, r2=%s)', obj.semiMajorAxis, obj.semiMinorAxis); + str = obj.createLabelForMissingLabelDefinition(); end end end diff --git a/code/types/v5.0/+openminds/+sands/+mathematicalshape/Rectangle.m b/code/types/v5.0/+openminds/+sands/+mathematicalshape/Rectangle.m index 7602c405..5d340929 100644 --- a/code/types/v5.0/+openminds/+sands/+mathematicalshape/Rectangle.m +++ b/code/types/v5.0/+openminds/+sands/+mathematicalshape/Rectangle.m @@ -52,7 +52,7 @@ methods (Access = protected) function str = getDisplayLabel(obj) - str = sprintf('rectangle(L=%s, W=%s)', obj.length, obj.width); + str = obj.createLabelForMissingLabelDefinition(); end end end