1 16 17 package org.apache.tester; 18 19 20 import java.io.Serializable ; 21 22 23 29 30 public class ContextBean implements Serializable { 31 32 33 35 36 39 protected String lifecycle = ""; 40 41 public String getLifecycle() { 42 return (this.lifecycle); 43 } 44 45 public void setLifecycle(String lifecycle) { 46 this.lifecycle = lifecycle; 47 } 48 49 50 53 protected String stringProperty = "Default String Property Value"; 54 55 public String getStringProperty() { 56 return (this.stringProperty); 57 } 58 59 public void setStringProperty(String stringProperty) { 60 this.stringProperty = stringProperty; 61 } 62 63 64 66 67 70 public String toString() { 71 72 StringBuffer sb = new StringBuffer ("ContextBean[lifecycle="); 73 sb.append(lifecycle); 74 sb.append(", stringProperty="); 75 sb.append(this.stringProperty); 76 sb.append("]"); 77 return (sb.toString()); 78 79 } 80 81 82 } 83 84 | Popular Tags |