Merge "Mark constructors provided for Serializers, deprecated" into dev/ramcloud-new-datamodel
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/DeviceEvent.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/DeviceEvent.java
index 628b9d4..8bea7f8 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/DeviceEvent.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/DeviceEvent.java
@@ -30,8 +30,9 @@
/**
- * Default constructor.
+ * Default constructor for Serializer to use.
*/
+ @Deprecated
public DeviceEvent() {
mac = null;
}
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/LinkEvent.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/LinkEvent.java
index 5fd3b82..03c1a43 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/LinkEvent.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/LinkEvent.java
@@ -15,8 +15,9 @@
protected final SwitchPort dst;
/**
- * Default constructor.
+ * Default constructor for Serializer to use.
*/
+ @Deprecated
public LinkEvent() {
src = null;
dst = null;
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/PortEvent.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/PortEvent.java
index 4bd3ea1..801bc1c 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/PortEvent.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/PortEvent.java
@@ -14,8 +14,9 @@
public final Long number;
/**
- * Default constructor.
+ * Default constructor for Serializer to use.
*/
+ @Deprecated
public SwitchPort() {
dpid = null;
number = null;
@@ -77,8 +78,9 @@
// TODO Add Description
/**
- * Default constructor.
+ * Default constructor for Serializer to use.
*/
+ @Deprecated
public PortEvent() {
id = null;
}
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/SwitchEvent.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/SwitchEvent.java
index 84b9360..f483e77 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/SwitchEvent.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/SwitchEvent.java
@@ -12,8 +12,9 @@
protected final Long dpid;
/**
- * Default constructor.
+ * Default constructor for Serializer to use.
*/
+ @Deprecated
public SwitchEvent() {
dpid = null;
}