All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.caelum.stella.SimpleValidationMessage Maven / Gradle / Ivy

There is a newer version: 2.1.7
Show newest version
package br.com.caelum.stella;

/**
 * Implementação básica e imutável. Apenas guarda a mensagem.
 * 
 * @author Fabio Kung
 */
public class SimpleValidationMessage implements ValidationMessage {
    private final String message;

    public SimpleValidationMessage(String message) {
        this.message = message;
    }

    /**
     * @see br.com.caelum.stella.ValidationMessage#getMessage()
     */
    public String getMessage() {
        return this.message;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy