2 * Copyright (C) 2016 Roland Haeder
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.jusercore.model.user.profilemodes;
19 import java.io.Serializable;
24 * @author Roland Haeder<roland@mxchange.org>
26 public enum ProfileMode implements Serializable {
29 * Invisible to guests and members (not administrators)
31 INVISIBLE("PROFILE_MODE_INVISIBLE"), //NOI18N
34 * Only visible to members (and administrators)
36 MEMBERS("PROFILE_MODE_MEMBERS"), //NOI18N
39 * Visible to all (public in Internet)
41 PUBLIC("PROFILE_MODE_PUBLIC"); //NOI18N
46 private final String messageKey;
49 * Constructor with message key
51 * @param messageKey Message key
53 private ProfileMode (final String messageKey) {
54 this.messageKey = messageKey;
58 * Getter for message key (i18n)
62 public String getMessageKey () {
63 return this.messageKey;