function LoadOnDemandSettings(ownerObject, options) {
    LoadOnDemandSettings_classCallCheck(this, LoadOnDemandSettings);

    // Define option defaults
    var mergedOptions = LoadOnDemandSettings_objectSpread(LoadOnDemandSettings_objectSpread({}, LoadOnDemandSettings.defaults), options);

    this._ownerObject = ownerObject;
    this._hasChildren = mergedOptions.hasChildren;
    this._loadChildren = mergedOptions.loadChildren;
  }
/**
   * 
   * @param {object} ownerObject The owner object.
   * @param {object} options The options object.
   * @param {hasChildrenCallBack} options.hasChildren Sets the hasChildren callback function, used to determine whether a node or data item has children or not.
   * @param {loadChildrenCallBack} options.loadChildren the loadChildren callback function, used to load children data items for a node.
   */
@param {object} ownerObject The owner object.
@param {object} options The options object.
@param {hasChildrenCallBack} options.hasChildren Sets the hasChildren callback function, used to determine whether a node or data item has children or not.
@param {loadChildrenCallBack} options.loadChildren the loadChildren callback function, used to load children data items for a node.
@param { object } ownerObject The owner object . @param { object } options The options object . @param { hasChildrenCallBack } options . hasChildren Sets the hasChildren callback function used to determine whether a node or data item has children or not . @param { loadChildrenCallBack } options . loadChildren the loadChildren callback function used to load children data items for a node .
function LoadOnDemandSettings(ownerObject, options) {
    LoadOnDemandSettings_classCallCheck(this, LoadOnDemandSettings);
    var mergedOptions = LoadOnDemandSettings_objectSpread(LoadOnDemandSettings_objectSpread({}, LoadOnDemandSettings.defaults), options);
    this._ownerObject = ownerObject;
    this._hasChildren = mergedOptions.hasChildren;
    this._loadChildren = mergedOptions.loadChildren;
  }
function LoadOnDemandSettings ( ownerObject , options ) { LoadOnDemandSettings_classCallCheck ( this , LoadOnDemandSettings ) ; var mergedOptions = LoadOnDemandSettings_objectSpread ( LoadOnDemandSettings_objectSpread ( { } , LoadOnDemandSettings . defaults ) , options ) ; this . _ownerObject = ownerObject ; this . _hasChildren = mergedOptions . hasChildren ; this . _loadChildren = mergedOptions . loadChildren ; }
@param {object} ownerObject The owner object.
@param { object } ownerObject The owner object .
// Define option defaults