function ServerWBO(id, initialPayload, modified) {
  if (!id) {
    throw "No ID for ServerWBO!";
  }
  this.id = id;
  if (!initialPayload) {
    return;
  }

  if (typeof initialPayload == "object") {
    initialPayload = JSON.stringify(initialPayload);
  }
  this.payload = initialPayload;
  this.modified = modified || new_timestamp();
}
/*
 * Represent a WBO on the server
 */
Represent a WBO on the server
Represent a WBO on the server
function ServerWBO(id, initialPayload, modified) {
  if (!id) {
    throw "No ID for ServerWBO!";
  }
  this.id = id;
  if (!initialPayload) {
    return;
  }
  if (typeof initialPayload == "object") {
    initialPayload = JSON.stringify(initialPayload);
  }
  this.payload = initialPayload;
  this.modified = modified || new_timestamp();
}
function ServerWBO ( id , initialPayload , modified ) { if ( ! id ) { throw "No ID for ServerWBO!" ; } this . id = id ; if ( ! initialPayload ) { return ; } if ( typeof initialPayload == "object" ) { initialPayload = JSON . stringify ( initialPayload ) ; } this . payload = initialPayload ; this . modified = modified || new_timestamp ( ) ; }
Represent a WBO on the server
Represent a WBO on the server