Drop "I" prefix from IBatchOperationTarget, IFlow and IFlowManagerService.
- This task is a part of ONOS-1687.
Change-Id: I24d14b5ecf4152bfb3f239c7b03725302bc307dd
diff --git a/src/main/java/net/onrc/onos/api/flowmanager/Flow.java b/src/main/java/net/onrc/onos/api/flowmanager/Flow.java
new file mode 100644
index 0000000..bd1c619
--- /dev/null
+++ b/src/main/java/net/onrc/onos/api/flowmanager/Flow.java
@@ -0,0 +1,37 @@
+package net.onrc.onos.api.flowmanager;
+
+import net.onrc.onos.api.batchoperation.BatchOperationTarget;
+import net.onrc.onos.core.matchaction.MatchActionPlan;
+import net.onrc.onos.core.matchaction.match.IMatch;
+
+/**
+ * An interface class to define flow object which is managed by
+ * FlowManagerModule.
+ * <p>
+ * The flow objects (eg. path, tree, disjoint-paths, etc.) must implement this
+ * interface.
+ */
+public interface Flow extends BatchOperationTarget {
+ /**
+ * Gets ID for this flow object.
+ *
+ * @return ID for this object.
+ */
+ public FlowId getId();
+
+ /**
+ * Gets traffic filter for this flow object.
+ *
+ * @return a traffic filter for this flow object.
+ */
+ public IMatch getMatch();
+
+ /**
+ * Compiles this object to MatchAction plan.
+ * <p>
+ * This method is called by FlowManagerModule to create MatchAction plans.
+ *
+ * @return a MatchAction plan of this flow object.
+ */
+ public MatchActionPlan compile();
+}