diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-06-06 13:32:56 +0200 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-06-06 13:32:56 +0200 |
commit | 65a49c3154822aa808ced07301487162a290fda7 (patch) | |
tree | d65603ed917cf7e4f3c7720e8c474615d3931ed2 /src/musichub/business/Genre.java |
Initial jMusicHubProject
Diffstat (limited to 'src/musichub/business/Genre.java')
-rw-r--r-- | src/musichub/business/Genre.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/musichub/business/Genre.java b/src/musichub/business/Genre.java new file mode 100644 index 0000000..18deca6 --- /dev/null +++ b/src/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 |