|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| StringOptionValue.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Joey and its relative products are published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*/
|
|
| 5 |
/*
|
|
| 6 |
* Created on 2003/12/29
|
|
| 7 |
*/
|
|
| 8 |
package org.asyrinx.brownie.tapestry.util;
|
|
| 9 |
|
|
| 10 |
import java.io.Serializable;
|
|
| 11 |
|
|
| 12 |
/**
|
|
| 13 |
* @author akima
|
|
| 14 |
*/
|
|
| 15 |
public class StringOptionValue implements Serializable { |
|
| 16 |
|
|
| 17 |
/**
|
|
| 18 |
*
|
|
| 19 |
*/
|
|
| 20 | 0 |
public StringOptionValue(String value) {
|
| 21 | 0 |
super();
|
| 22 | 0 |
this.value = value;
|
| 23 |
} |
|
| 24 |
|
|
| 25 |
private String value;
|
|
| 26 |
|
|
| 27 |
private boolean selected = false; |
|
| 28 |
|
|
| 29 |
/**
|
|
| 30 |
* @return
|
|
| 31 |
*/
|
|
| 32 | 0 |
public boolean isSelected() { |
| 33 | 0 |
return selected;
|
| 34 |
} |
|
| 35 |
|
|
| 36 |
/**
|
|
| 37 |
* @return
|
|
| 38 |
*/
|
|
| 39 | 0 |
public String getValue() {
|
| 40 | 0 |
return value;
|
| 41 |
} |
|
| 42 |
|
|
| 43 |
/**
|
|
| 44 |
* @param b
|
|
| 45 |
*/
|
|
| 46 | 0 |
public void setSelected(boolean b) { |
| 47 | 0 |
selected = b; |
| 48 |
} |
|
| 49 |
|
|
| 50 |
/**
|
|
| 51 |
* @param string
|
|
| 52 |
*/
|
|
| 53 | 0 |
public void setValue(String string) { |
| 54 | 0 |
value = string; |
| 55 |
} |
|
| 56 |
|
|
| 57 |
} |
|
||||||||||