/*
 * Moodini
 * Copyright (C) 2016 Marcus Fihlon
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package ch.fihlon.moodini.server.business.question.entity;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public enum Answer implements Serializable {

    // CHECKSTYLE DISABLE JavadocVariable FOR 5 LINES
    AMPED("Amped"),
    GOOD("Good"),
    FINE("Fine"),
    MEH("Meh"),
    PISSED("Pissed");

    private String text;

    Answer(@NotNull final String text) {
        this.text = text;
    }

    /**
     * Get the {@link String} representation of an {@link Answer}.
     * 
     * @return the {@link String} representation of an {@link Answer}
     */
    public String getText() {
        return text;
    }
}

@@ -779,53 +779,8 @@
 y;%0A%0A
-import javax.validation.constraints.NotNull;%0A
 impo
@@ -804,16 +804,16 @@
 izable;%0A
+
 %0Apublic 
@@ -918,17 +918,8 @@
 MPED
-(%22Amped%22)
 ,%0A  
@@ -928,16 +928,8 @@
 GOOD
-(%22Good%22)
 ,%0A  
@@ -938,16 +938,8 @@
 FINE
-(%22Fine%22)
 ,%0A  
@@ -947,15 +947,8 @@
  MEH
-(%22Meh%22)
 ,%0A  
@@ -959,337 +959,9 @@
 SSED
-(%22Pissed%22);%0A%0A    private String text;%0A%0A    Answer(@NotNull final String text) %7B%0A        this.text = text;%0A    %7D%0A%0A    /**%0A     * Get the %7B@link String%7D representation of an %7B@link Answer%7D.%0A     * %0A     * @return the %7B@link String%7D representation of an %7B@link Answer%7D%0A     */%0A    public String getText() %7B%0A        return text;%0A    %7D
+;%0A
 %0A%7D%0A

Simplified Answer enum