diff options
Diffstat (limited to 'src/musichub/business/Language.java')
-rw-r--r-- | src/musichub/business/Language.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/musichub/business/Language.java b/src/musichub/business/Language.java new file mode 100644 index 0000000..679e586 --- /dev/null +++ b/src/musichub/business/Language.java @@ -0,0 +1,14 @@ +package musichub.business; + +public enum Language { + FRENCH("french"), ENGLISH("english"), ITALIAN("italian"), SPANISH("spanish"), GERMAN("german"); + private final String language; + + Language(String language) { + this.language = language; + } + + public String getLanguage() { + return language; + } +}
\ No newline at end of file |