From 65a49c3154822aa808ced07301487162a290fda7 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 6 Jun 2021 13:32:56 +0200 Subject: Initial jMusicHubProject --- src/musichub/business/Category.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/musichub/business/Category.java (limited to 'src/musichub/business/Category.java') 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 -- cgit v1.2.3