Abstract base operation class.
className : String
Name of the operation class used for serialization.
constructor( baseVersion )
Creates and returns a reverse operation. Reverse operation when executed right after the original operation will bring back tree model state to the point before the original operation execution. In other words, it reverses changes done by the original operation.
Keep in mind that tree model state may change since executing the original operation, so reverse operation will be "outdated". In that case you will need to transform it by all operations that were executed after the original operation.
toJSON() → Object
Custom toJSON method to solve child-parent circular dependencies.
Clone of this object with the operation property replaced with string.
Executes the operation - modifications described by the operation properties will be applied to the model tree.
Checks whether the operation's parameters are correct and the operation can be correctly executed. Throws an error if operation is not valid.