makeStrList method
- Object elst
Internal method to convert a list of values from the
companion SamModel._enums
into a string representation.
Multiple values are separated by a /
character. Validation is
performed later upon SamModel activation.
Implementation
String makeStrList(Object elst) {
if (elst is List) {
String s = "";
String sep = "";
for(Object o in elst) {
s += "$sep$o";
sep = "/";
}
return s;
} else {
return "$elst";
}
}