aboutsummaryrefslogtreecommitdiff
path: root/src/musichub/business/Genre.java
blob: 18deca651ff93ba4719ecb69759b60f8fb3017d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
    }
}