code: function (object, label, callback) {
  
                  var labelObject = this.$.dataSource.createEntity(ObjectLabel);
  
                  labelObject.set({
                      object: object,
                      objectType: this.$.dataSource.createEntity(ObjectType, this.getObjectTypeIdForElement(object)),
                      label: label
                  });
  
                  labelObject.save(callback);
              }
docs: Labels an object with the given label
  
  @param {sprd.model.Model} object
  @param {sprd.model.Label} label
  @param {Function} callback