E024 Sort Key Not of Umple Type
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E024 Sort Key Not of Umple TypeUmple semantic error reported when a sort key for a sorted association does not use one of the builtin Umple typesThe sort key for an sorted association must have one of the simple types Integer, Short, Long, Double, Float or String. This allows sensible code to be generated for comparisons. The set of allowed types may be expanded in the future. Example// This example generates the error message class X { 1 -- * Y sorted {endDate}; } class Y { Date endDate; } Load the above code into UmpleOnline |