org.nuiton.wikitty.struts.Option Maven / Gradle / Ivy
/*
* #%L
* Wikitty :: struts
* %%
* Copyright (C) 2011 - 2012 CodeLutin, Benjamin Poussin
* %%
* This program 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 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 General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
package org.nuiton.wikitty.struts;
public class Option {
protected String valeur;
protected String description;
public String getValeur() {
return valeur;
}
public void setValeur(String valeur) {
this.valeur = valeur;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Option() {
}
public Option(String valeur, String description) {
this.valeur = valeur;
this.description = description;
}
@Override
public String toString() {
return "Option [valeur=" + valeur + ", description=" + description
+ "]";
}
}