function ServerCollection(wbos, acceptNew, timestamp) {
  this._wbos = wbos || {};
  this.acceptNew = acceptNew || false;

  /*
   * Track modified timestamp.
   * We can't just use the timestamps of contained WBOs: an empty collection
   * has a modified time.
   */
  this.timestamp = timestamp || new_timestamp();
  this._log = Log.repository.getLogger(SYNC_HTTP_LOGGER);
}
/**
 * Represent a collection on the server. The '_wbos' attribute is a
 * mapping of id -> ServerWBO objects.
 *
 * Note that if you want these records to be accessible individually,
 * you need to register their handlers with the server separately, or use a
 * containing HTTP server that will do so on your behalf.
 *
 * @param wbos
 *        An object mapping WBO IDs to ServerWBOs.
 * @param acceptNew
 *        If true, POSTs to this collection URI will result in new WBOs being
 *        created and wired in on the fly.
 * @param timestamp
 *        An optional timestamp value to initialize the modified time of the
 *        collection. This should be in the format returned by new_timestamp().
 *
 * @return the new ServerCollection instance.
 *
 */
Represent a collection on the server. The '_wbos' attribute is a
mapping of id -> ServerWBO objects.

Note that if you want these records to be accessible individually,
you need to register their handlers with the server separately, or use a
containing HTTP server that will do so on your behalf.

@param wbos
An object mapping WBO IDs to ServerWBOs.
@param acceptNew
If true, POSTs to this collection URI will result in new WBOs being
created and wired in on the fly.
@param timestamp
An optional timestamp value to initialize the modified time of the
collection. This should be in the format returned by new_timestamp().

@return the new ServerCollection instance.
Represent a collection on the server . The ' _wbos ' attribute is a mapping of id - > ServerWBO objects . Note that if you want these records to be accessible individually you need to register their handlers with the server separately or use a containing HTTP server that will do so on your behalf . @param wbos An object mapping WBO IDs to ServerWBOs . @param acceptNew If true POSTs to this collection URI will result in new WBOs being created and wired in on the fly . @param timestamp An optional timestamp value to initialize the modified time of the collection . This should be in the format returned by new_timestamp () . @return the new ServerCollection instance .
function ServerCollection(wbos, acceptNew, timestamp) {
  this._wbos = wbos || {};
  this.acceptNew = acceptNew || false;
  this.timestamp = timestamp || new_timestamp();
  this._log = Log.repository.getLogger(SYNC_HTTP_LOGGER);
}
function ServerCollection ( wbos , acceptNew , timestamp ) { this . _wbos = wbos || { } ; this . acceptNew = acceptNew || false ; this . timestamp = timestamp || new_timestamp ( ) ; this . _log = Log . repository . getLogger ( SYNC_HTTP_LOGGER ) ; }
Represent a collection on the server.
Represent a collection on the server .
/*
   * Track modified timestamp.
   * We can't just use the timestamps of contained WBOs: an empty collection
   * has a modified time.
   */