1 16 17 18 package org.apache.webapp.admin; 19 20 import java.io.Serializable ; 21 22 29 30 public class LabelValueBean implements Serializable { 31 32 33 35 36 42 public LabelValueBean(String label, String value) { 43 this.label = label; 44 this.value = value; 45 } 46 47 48 50 51 54 protected String label = null; 55 56 public String getLabel() { 57 return (this.label); 58 } 59 60 61 64 protected String value = null; 65 66 public String getValue() { 67 return (this.value); 68 } 69 70 71 73 74 77 public String toString() { 78 StringBuffer sb = new StringBuffer ("LabelValueBean["); 79 sb.append(this.label); 80 sb.append(", "); 81 sb.append(this.value); 82 sb.append("]"); 83 return (sb.toString()); 84 } 85 86 87 } 88 | Popular Tags |