GUI -- Initial cut at a simple table/row/cell model to allow us more control over the comparison / formatting of cell values for GUI tables.

Change-Id: I1a163259f1e80b2765a92cda654ffe092c835e6d
diff --git a/core/api/src/main/java/org/onosproject/ui/table/DefaultCellFormatter.java b/core/api/src/main/java/org/onosproject/ui/table/DefaultCellFormatter.java
new file mode 100644
index 0000000..4078673
--- /dev/null
+++ b/core/api/src/main/java/org/onosproject/ui/table/DefaultCellFormatter.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2015 Open Networking Laboratory
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.onosproject.ui.table;
+
+/**
+ * A default cell formatter. Uses the object's toString() method.
+ */
+public class DefaultCellFormatter implements CellFormatter {
+    @Override
+    public String format(Object value) {
+        return value == null ? "" : value.toString();
+    }
+}