syncbase.js: Renaming from fullname to fullName

Change-Id: I645d286f72d1fa596d4758c35cebf1e29ca3084f
diff --git a/src/nosql/database.js b/src/nosql/database.js
index e2c284a..8ed8b5f 100644
--- a/src/nosql/database.js
+++ b/src/nosql/database.js
@@ -6,9 +6,9 @@
 
 // Database represents a collection of Tables. Batches, queries, sync, watch,
 // etc. all operate at the Database level.
-function Database(fullname, relativeName) {
+function Database(fullName, name) {
   if (typeof this !== Database) {
-    return new Database(fullname, relativeName);
+    return new Database(fullName, name);
   }
 
   /**
@@ -16,7 +16,7 @@
    * @type {string}
    */
   Object.defineProperty(this, 'name', {
-    value: relativeName,
+    value: name,
     writable: false
   });
 
@@ -24,8 +24,8 @@
    * @property name
    * @type {string}
    */
-  Object.defineProperty(this, 'fullname', {
-    value: fullname,
+  Object.defineProperty(this, 'fullName', {
+    value: fullName,
     writable: false
   });
 }
diff --git a/src/nosql/row.js b/src/nosql/row.js
index 9ba25f5..b513ea7 100644
--- a/src/nosql/row.js
+++ b/src/nosql/row.js
@@ -5,28 +5,30 @@
 module.exports = Row;
 
 // Row represents a single row in a Table.
-function Row(fullname, relativeName) {
+function Row(fullName, key) {
+  // TODO(aghassemi) We may need to escape the key. Align with Go implementation
+  // when that decision is made.
   if (typeof this !== Row) {
-    return new Row(fullname, relativeName);
+    return new Row(fullName, key);
   }
 
   /**
-   * The relative name of this Row.
+   * The key of this Row.
    * @property name
    * @type {string}
    */
-  Object.defineProperty(this, 'name', {
-    value: relativeName,
+  Object.defineProperty(this, 'key', {
+    value: key,
     writable: false
   });
 
   /**
    * The full name (object name) of this Row.
-   * @property fullname
+   * @property fullName
    * @type {string}
    */
-  Object.defineProperty(this, 'fullname', {
-    value: fullname,
+  Object.defineProperty(this, 'fullName', {
+    value: fullName,
     writable: false
   });
 }
diff --git a/src/nosql/table.js b/src/nosql/table.js
index 3b87f62..2534009 100644
--- a/src/nosql/table.js
+++ b/src/nosql/table.js
@@ -5,9 +5,9 @@
 module.exports = Table;
 
 // Table represents a collection of Rows.
-function Table(fullname, relativeName) {
+function Table(fullName, name) {
   if (typeof this !== Table) {
-    return new Table(fullname, relativeName);
+    return new Table(fullName, name);
   }
 
   /**
@@ -16,17 +16,17 @@
    * @type {string}
    */
   Object.defineProperty(this, 'name', {
-    value: relativeName,
+    value: name,
     writable: false
   });
 
   /**
    * The full name (object name) of this Table.
-   * @property fullname
+   * @property fullName
    * @type {string}
    */
-  Object.defineProperty(this, 'fullname', {
-    value: fullname,
+  Object.defineProperty(this, 'fullName', {
+    value: fullName,
     writable: false
   });
 }
@@ -71,5 +71,5 @@
 Table.prototype.getPermissions = function(ctx, key) {};
 
 // DeletePermissions deletes the permissions for the specified prefix. Any
-// rows covered by this prefix will use the next longest prefix's permissions
+// rows covered by this prefix will use the next longest prefix's permissions.
 Table.prototype.deletePermissions = function(ctx, prefix) {};
\ No newline at end of file