aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/musichub/business/Genre.java
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-06-26 12:34:26 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-06-26 12:34:26 +0200
commite64ffae239b19871704b4ac1e9cd58275ed58622 (patch)
treeb7586af24fc281116a2913eaa9f4d8d849468d3b /src/main/java/musichub/business/Genre.java
parente38c5887682b13b7d9dadc822c02654939fc7401 (diff)
Changed the architecture to respect maven and generated an empty javadoc
Diffstat (limited to 'src/main/java/musichub/business/Genre.java')
-rw-r--r--src/main/java/musichub/business/Genre.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/musichub/business/Genre.java b/src/main/java/musichub/business/Genre.java
new file mode 100644
index 0000000..18deca6
--- /dev/null
+++ b/src/main/java/musichub/business/Genre.java
@@ -0,0 +1,14 @@
+package musichub.business;
+
+public enum Genre {
+ JAZZ("jazz"), CLASSIC("classic"), HIPHOP("hiphop"), ROCK("rock"), POP("pop"), RAP("rap");
+ private final String genre;
+
+ Genre(String genre) {
+ this.genre = genre;
+ }
+
+ public String getGenre() {
+ return genre;
+ }
+} \ No newline at end of file