OCLOperators add

.add ( object : T )

Adds the object to an sequence, for example an association.

Expression Result
self.<association of type T>.add(<object : T>) The object has been added to the existing association

Note! Add changes the sequence or association. If you want to append (add) an object to an sequence and return the result (without changing the underlying data), use ->append

This page was edited 47 days ago on 02/10/2024. What links here