/*
 * Created on 13-Sep-2005
 * 
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */

package com.acrolinx.termmanagement.elements.model;

import com.uwyn.rife.site.ConstrainedProperty;
import com.uwyn.rife.site.Validation;

public class SuggestionBean extends Validation
{
    private String suggestion = null;
    
    public SuggestionBean(String suggestion)
    {
        this.suggestion = suggestion;
    }

    protected void activateValidation()
    {
        addConstraint(new ConstrainedProperty("suggestion").notNull(true).notEmpty(
                true));
    }

    public SuggestionBean()
    {
    }

    public String getSuggestion()
    {
        return suggestion;
    }

    public void setSuggestion(String suggestion)
    {
        this.suggestion = suggestion;
    }

}