OSDN Git Service

Requestにインタフェースを追加
authoryukihane <yukihane.feather@gmail.com>
Sat, 27 Aug 2011 14:19:17 +0000 (23:19 +0900)
committeryukihane <yukihane.feather@gmail.com>
Sat, 27 Aug 2011 14:19:17 +0000 (23:19 +0900)
frontend/src/yukihane/inqubus/manager/Request.java [new file with mode: 0644]
frontend/src/yukihane/inqubus/manager/RequestProcess.java

diff --git a/frontend/src/yukihane/inqubus/manager/Request.java b/frontend/src/yukihane/inqubus/manager/Request.java
new file mode 100644 (file)
index 0000000..b08687a
--- /dev/null
@@ -0,0 +1,10 @@
+package yukihane.inqubus.manager;
+
+/**
+ *
+ * @author yuki
+ */
+public interface Request {
+
+    int getRowId();
+}
index 0c2ccfe..0b343af 100644 (file)
@@ -7,7 +7,7 @@ import saccubus.worker.profile.DownloadProfile;
  *
  * @author yuki
  */
-public class RequestProcess {
+public class RequestProcess implements Request {
 
     private static int serialId;
     private final int rowId;
@@ -34,7 +34,8 @@ public class RequestProcess {
         return videoId;
     }
 
-    Integer getRowId() {
+    @Override
+    public int getRowId() {
         return rowId;
     }
 }