docs: function (val, model) {
              if (!isUndefinedOrNull(val)) {
                  val = this._toModel(val);
                  this.__setValue(model, val);
                  if (!val.isNew) {
                      var recip = this.model._findAssociation(this);
                      if (recip) {
                          //set up our association
                          recip[1]._setAssociationKeys(val, model);
                      }
                  }
              } else if (!model.isNew && isNull(val)) {
                  var keys = this._getAssociationKey(model)[0].forEach(function (k) {
                      model[k] = null;
                  });
              }
          }