Network GraphRefactoring: Removed unused interface and code.
 * Removed interface NetworkGraphReplicationInterface, because it is not
   needed anymore.
 * Removed the ONOS Instance Origin ID for each notification, because
   it won't be needed.

Change-Id: Ia2035cc34ea1c1b8cefa90d35eab5a10f5f8a2eb
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/TopologyEvent.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/TopologyEvent.java
index 2892e0c..68da896 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/TopologyEvent.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/TopologyEvent.java
@@ -8,8 +8,6 @@
  * in a single transaction.
  */
 public class TopologyEvent {
-    public static final String NOBODY = "";
-    String originID = NOBODY;
     SwitchEvent switchEvent = null;		// Set for Switch event
     PortEvent portEvent = null;			// Set for Port event
     LinkEvent linkEvent = null;			// Set for Link event
@@ -26,9 +24,8 @@
      *
      * @param switchEvent the Switch event to use.
      */
-    TopologyEvent(SwitchEvent switchEvent, String originID) {
+    TopologyEvent(SwitchEvent switchEvent) {
 	this.switchEvent = switchEvent;
-	setOriginID(originID);
     }
 
     /**
@@ -36,9 +33,8 @@
      *
      * @param portEvent the Port event to use.
      */
-    TopologyEvent(PortEvent portEvent, String originID) {
+    TopologyEvent(PortEvent portEvent) {
 	this.portEvent = portEvent;
-	setOriginID(originID);
     }
 
     /**
@@ -46,9 +42,8 @@
      *
      * @param linkEvent the Link event to use.
      */
-    TopologyEvent(LinkEvent linkEvent, String originID) {
+    TopologyEvent(LinkEvent linkEvent) {
 	this.linkEvent = linkEvent;
-	setOriginID(originID);
     }
 
     /**
@@ -56,9 +51,8 @@
      *
      * @param deviceEvent the Device event to use.
      */
-    TopologyEvent(DeviceEvent deviceEvent, String originID) {
+    TopologyEvent(DeviceEvent deviceEvent) {
 	this.deviceEvent = deviceEvent;
-	setOriginID(originID);
     }
 
     /**
@@ -95,16 +89,4 @@
 	    return deviceEvent.getID();
 	return null;
     }
-
-    public String getOriginID() {
-	return originID;
-    }
-
-    void setOriginID(String originID) {
-	if (originID != null) {
-	    this.originID = originID;
-	} else {
-	    this.originID = NOBODY;
-	}
-    }
 }