aboutsummaryrefslogtreecommitdiff
path: root/src/musichub/business/Category.java
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-06-08 20:56:16 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-06-08 20:56:16 +0200
commit05bc8764e48d93e1c676062ce71f7053c59b3c93 (patch)
tree4e010cf8794508e67cd6400a568d86df044604fb /src/musichub/business/Category.java
parent5b3a0075f9b4a3d0cf5b15575648ee0af3d34749 (diff)
parent48d56d9db8fe93f1e1799674fefabdfc677d2eb7 (diff)
Merge branch 'master' into develop
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