aboutsummaryrefslogtreecommitdiff
path: root/src/musichub/business/Category.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/musichub/business/Category.java')
-rw-r--r--src/musichub/business/Category.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/musichub/business/Category.java b/src/musichub/business/Category.java
new file mode 100644
index 0000000..f676e51
--- /dev/null
+++ b/src/musichub/business/Category.java
@@ -0,0 +1,14 @@
+package musichub.business;
+
+public enum Category {
+ YOUTH("youth"), NOVEL("novel"), THEATER("theater"), DOCUMENTARY("documentary"), SPEECH("speech");
+ private final String category;
+
+ Category(String category) {
+ this.category = category;
+ }
+
+ public String getCategory() {
+ return category;
+ }
+} \ No newline at end of file