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