Change Intent classes to self contained

Change-Id: I0def86a280646983efb98dbe5937b93b4c9a4885
diff --git a/src/main/java/net/onrc/onos/intent/PathIntent.java b/src/main/java/net/onrc/onos/intent/PathIntent.java
index 3afa92e..4d1e71e 100644
--- a/src/main/java/net/onrc/onos/intent/PathIntent.java
+++ b/src/main/java/net/onrc/onos/intent/PathIntent.java
@@ -7,7 +7,7 @@
  */
 public class PathIntent extends Intent {
 	protected Path path;
-	protected Double bandwidth;
+	protected double bandwidth;
 	protected Intent parentIntent;
 	protected int id;
 
@@ -16,11 +16,11 @@
 	 * @param graph
 	 * @param path
 	 * @param bandwidth bandwidth which should be allocated for the path.
-	 * If null, it means no intent for bandwidth allocation (best effort).
-	 * @param parentIntent parent intent. If null, it means this is root intent.
+	 * If 0, no intent for bandwidth allocation (best effort).
+	 * @param parentIntent parent intent. If null, this is root intent.
 	 * @param id
 	 */
-	public PathIntent(String id, Path path, Double bandwidth, Intent parentIntent) {
+	public PathIntent(String id, Path path, double bandwidth, Intent parentIntent) {
 		super(id);
 		this.path = path;
 		this.bandwidth = bandwidth;
@@ -38,10 +38,4 @@
 	public Intent getParentIntent() {
 		return parentIntent;
 	}
-
-	@Override
-	public byte[] toBytes() {
-		// TODO not implemented yet
-		return null;
-	}
 }