moved to a subdir
[pnews.git] / pnews / src / main / java / pnews / Category.java
diff --git a/pnews/src/main/java/pnews/Category.java b/pnews/src/main/java/pnews/Category.java
new file mode 100644 (file)
index 0000000..efabe5e
--- /dev/null
@@ -0,0 +1,21 @@
+package pnews;
+
+public enum Category {
+        TOP("top"),
+        FRANCE("france"),
+        SPORT("sport"),
+        EUROPE("europe"),
+        ECO("eco"),
+        ESSONNE("essonne"),
+        TECHNOLOGIE("technologie");
+        
+        private final String id;
+                
+        private Category(String id) {
+                this.id = id;
+        }
+        
+        public String getId() {
+                return id;
+        }
+}