1 16 package org.apache.myfaces.cactus; 17 18 import java.util.List ; 19 import java.util.Map ; 20 import java.util.Date ; 21 import java.math.BigDecimal ; 22 23 24 27 public class TestBean 28 { 29 private long numberPrimitiveLong; 30 private int numberPrimitiveInt; 31 private Long numberLong; 32 private BigDecimal numberBigDecimal; 33 private List list; 34 private Map map; 35 private Date date; 36 private String valueWithDefault = "default"; 37 38 39 public String getValueWithDefault() 40 { 41 return valueWithDefault; 42 } 43 44 45 public void setValueWithDefault(String valueWithDefault) 46 { 47 this.valueWithDefault = valueWithDefault; 48 } 49 50 51 public long getNumberPrimitiveLong() 52 { 53 return numberPrimitiveLong; 54 } 55 56 57 public void setNumberPrimitiveLong(long numberPrimitiveLong) 58 { 59 this.numberPrimitiveLong = numberPrimitiveLong; 60 } 61 62 63 public Long getNumberLong() 64 { 65 return numberLong; 66 } 67 68 69 public void setNumberLong(Long numberLong) 70 { 71 this.numberLong = numberLong; 72 } 73 74 75 public BigDecimal getNumberBigDecimal() 76 { 77 return numberBigDecimal; 78 } 79 80 81 public void setNumberBigDecimal(BigDecimal numberBigDecimal) 82 { 83 this.numberBigDecimal = numberBigDecimal; 84 } 85 86 87 public List getList() 88 { 89 return list; 90 } 91 92 93 public void setList(List list) 94 { 95 this.list = list; 96 } 97 98 99 public Map getMap() 100 { 101 return map; 102 } 103 104 105 public void setMap(Map map) 106 { 107 this.map = map; 108 } 109 110 111 public Date getDate() 112 { 113 return date; 114 } 115 116 117 public void setDate(Date date) 118 { 119 this.date = date; 120 } 121 122 123 public int getNumberPrimitiveInt() 124 { 125 return numberPrimitiveInt; 126 } 127 128 129 public void setNumberPrimitiveInt(int numberPrimitiveInt) 130 { 131 this.numberPrimitiveInt = numberPrimitiveInt; 132 } 133 134 135 public String doAction() { 136 return "ok"; 137 } 138 } 139 | Popular Tags |