docs: function(state, data){
        var stateCode = String(state);
        var oldState = this.childNodesState;
  
        if (!STATE.values[stateCode])
          throw new Error('Wrong state value');
  
        // set new state for object
        if (oldState != stateCode || oldState.data != data)
        {
          this.childNodesState = Object(stateCode);
          this.childNodesState.data = data;
  
          this.emit_childNodesStateChanged(oldState);
        }
      }