Change some of the basic classes in the "unit/" directory to immutable:

 * Change each class to "final"
 * Change the fields to "final"
 * Remove the "set" methods

Change-Id: I3499489024403b55328ffb1827fc8c3b5ffd231e
diff --git a/src/main/java/net/onrc/onos/core/datagrid/web/GetNGFlowsSummaryResource.java b/src/main/java/net/onrc/onos/core/datagrid/web/GetNGFlowsSummaryResource.java
index fa7c6d1..291f82d 100644
--- a/src/main/java/net/onrc/onos/core/datagrid/web/GetNGFlowsSummaryResource.java
+++ b/src/main/java/net/onrc/onos/core/datagrid/web/GetNGFlowsSummaryResource.java
@@ -80,12 +80,14 @@
             flowPath.setFlowPathUserState(FlowPathUserState.FP_USER_ADD);
 
             // Setup the Source and Destination DPID and Port
-            SwitchPort srcPort = flowPath.dataPath().srcPort();
-            SwitchPort dstPort = flowPath.dataPath().dstPort();
-            srcPort.setDpid(new Dpid(spIntent.getSrcSwitchDpid()));
-            srcPort.setPort(new Port((short) spIntent.getSrcPortNumber()));
-            dstPort.setDpid(new Dpid(spIntent.getDstSwitchDpid()));
-            dstPort.setPort(new Port((short) spIntent.getDstPortNumber()));
+            Dpid srcDpid = new Dpid(spIntent.getSrcSwitchDpid());
+            Port srcPort = new Port((short) spIntent.getSrcPortNumber());
+            Dpid dstDpid = new Dpid(spIntent.getDstSwitchDpid());
+            Port dstPort = new Port((short) spIntent.getDstPortNumber());
+            SwitchPort srcSwitchPort = new SwitchPort(srcDpid, srcPort);
+            SwitchPort dstSwitchPort = new SwitchPort(dstDpid, dstPort);
+            flowPath.dataPath().setSrcPort(srcSwitchPort);
+            flowPath.dataPath().setDstPort(dstSwitchPort);
 
             // Extract the Flow Entries
             Path path = pathIntent.getPath();