📄 optionlabelvalue.java
字号:
package com.ebusiness.ebank.util ;import java.io.Serializable;/** * OptionLabelValue : Value/Label * @ version 1.0 * @ author unascribed */public class OptionLabelValue implements Serializable { public String label = null; public String value = null; /** * Construct a new OptionLabelValue with the specified values. * * @param label The label to be displayed to the user * @param value The value to be returned to the server */ public OptionLabelValue(String label, String value) { this.label = label; this.value = value; } /** * Getter of the label */ public String getLabel() { return label; } /** * Getter of the value */ public String getValue() { return value; } /** * Setter of the label */ public void setLabel(String label) { this.label = label; } /** * Setter of the value */ public void setValue(String value) { this.value = value; } /** * Setter of the Value/Label */ public void setLabelValue(String label, String value) { setLabel(label); setValue(value); } /** * Return a string representation of this object. */ public String toString() { StringBuffer sb = new StringBuffer("OptionLabelValue["); sb.append(this.label); sb.append(", "); sb.append(this.value); sb.append("]"); return (sb.toString()); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -