next method
- Object elst
populate the allowable states this DefState can transition to.
The elst
is a list of valid states for this SamModel according to
the companion SamModel._enums
value. If only one state is
permitted the list notation is not required.
Allows chaining.
Implementation
DefState next(Object elst) {
this.strNext = makeStrList(elst);
return this;
}