/*
* Copyright 2011, Nabil Benothman, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package com.ubike.faces.component.captcha;
import java.io.Serializable;
/**
* {@code Verification}
* <p/>
*
* Created on Jun 9, 2011 at 7:43:50 PM
*
* @author <a href="mailto:nabil.benothman@gmail.com">Nabil Benothman</a>
*/
public class Verification implements Serializable {
private String challenge;
private String answer;
/**
* Create a new instance of {@code Verification}
*/
public Verification() {
super();
}
/**
* Create a new instance of {@code Verification}
*
* @param challenge
* @param answer
*/
public Verification(String challenge, String answer) {
this.challenge = challenge;
this.answer = answer;
}
/**
* @return the challenge
*/
public String getChallenge() {
return challenge;
}
/**
* @param challenge the challenge to set
*/
public void setChallenge(String challenge) {
this.challenge = challenge;
}
/**
* @return the answer
*/
public String getAnswer() {
return answer;
}
/**
* @param answer the answer to set
*/
public void setAnswer(String answer) {
this.answer = answer;
}
}