code: function(mEntitySets) {
  			var that = this;
  			this._oDraftMetadata.draftNodes = [];
  			this._oDraftMetadata.draftRootKey = mEntitySets[this._oDraftMetadata.draftRootName].keys.filter(function(x) {
  				return that._calcSemanticKeys(that._oDraftMetadata.draftRootName, mEntitySets).indexOf(x) < 0;
  			})[0];
  			var oAnnotations = that._oDraftMetadata.annotations;
  			var oEntitySetsAnnotations = oAnnotations.EntityContainer[Object.keys(oAnnotations.EntityContainer)[0]];
  			//iterate over entitysets annotations
  			for (var sEntityset in oEntitySetsAnnotations) {
  				//get entity set
  				var oEntitySetAnnotations = oEntitySetsAnnotations[sEntityset];
  				//iterate over annotations of entity set annotations and look for the draft node sets
  				if (oEntitySetAnnotations[that._oConstants.COM_SAP_VOCABULARIES_COMMON_V1_DRAFTNODE]) {
  					this._oDraftMetadata.draftNodes.push(sEntityset);
  				}
  			}
  			for (var j = 0; j < this._oDraftMetadata.draftNodes.length; j++) {
  				this.attachAfter(MockServer.HTTPMETHOD.GET, this._fnDraftAdministrativeData, this._oDraftMetadata.draftNodes[j]);
  			}
  		}
docs: Calculates the draft key of the draft root entityset and a list of all draft nodes
  @param {object} mEntitySets