1 22 package test.implementation.modelmbean.support; 23 24 31 public class Test 32 { 33 int fooCount = 0; 35 int barCount = 0; 36 String value = null; 37 38 public void setFoo(String value) 40 { 41 fooCount++; 42 this.value = value; 43 } 44 45 public String getBar() 46 { 47 barCount++; 48 return value; 49 } 50 51 public int getFooCount() 53 { 54 return fooCount; 55 } 56 57 public int getBarCount() 58 { 59 return barCount; 60 } 61 } 62 63 64 65 66 | Popular Tags |