View Javadoc

1   /*
2    *  DISCLAIMER
3    */
4   package org.flowfuse.base.model.filter;
5   
6   import org.apache.commons.logging.Log;
7   import org.apache.commons.logging.LogFactory;
8   
9   /***
10   * @author <a href="stefan@flowfuse.org">Stefan Kleineikenscheidt</a>,
11   *         Flowfuse.org
12   * @version $Id: SelectFilterOption.java,v 1.1 2006/01/15 20:01:25 skleinei Exp $
13   */
14  public class SelectFilterOption implements Cloneable {
15  
16    /*** RCS ID */
17    public final static String rcsid = "$Id: SelectFilterOption.java,v 1.1 2006/01/15 20:01:25 skleinei Exp $";
18  
19    /*** Logger */
20    protected final Log logger = LogFactory.getLog(this.getClass());
21  
22    private String label = "";
23  
24    private String value = "";
25  
26    private boolean selected = false;
27  
28    public Object clone() throws CloneNotSupportedException {
29      return super.clone();
30    }
31  
32    public String getLabel() {
33      return label;
34    }
35  
36    public void setLabel(String label) {
37      this.label = label;
38    }
39  
40    public String getValue() {
41      return value;
42    }
43  
44    public void setValue(String value) {
45      this.value = value;
46    }
47  
48    public boolean isSelected() {
49      return selected;
50    }
51  
52    public void setSelected(boolean selected) {
53      this.selected = selected;
54    }
55  
56  }
57  
58  /* EOF */