1 61 62 package org.objectweb.jonas.webapp.taglib; 63 64 import java.io.Serializable ; 65 66 73 74 public class LabelValueBean implements Serializable { 75 76 78 84 public LabelValueBean(String label, String value) { 85 this.label = label; 86 this.value = value; 87 } 88 89 91 94 protected String label = null; 95 96 public String getLabel() { 97 return (this.label); 98 } 99 100 103 protected String value = null; 104 105 public String getValue() { 106 return (this.value); 107 } 108 109 111 114 public String toString() { 115 StringBuffer sb = new StringBuffer ("LabelValueBean["); 116 sb.append(this.label); 117 sb.append(", "); 118 sb.append(this.value); 119 sb.append("]"); 120 return (sb.toString()); 121 } 122 123 } 124 | Popular Tags |