1 22 package org.jboss.test.mx.mxbean.support; 23 24 import java.math.BigDecimal ; 25 import java.math.BigInteger ; 26 import java.util.Date ; 27 28 import javax.management.ObjectName ; 29 30 36 public class SimpleObject implements SimpleInterface 37 { 38 private BigDecimal bigDecimal = bigDecimalValue; 39 private BigInteger bigInteger = bigIntegerValue; 40 private Boolean booleanV = booleanValue; 41 private Byte byteV = byteValue; 42 private Character characterV = characterValue; 43 private Date date = dateValue; 44 private Double doubleV = doubleValue; 45 private Float floatV = floatValue; 46 private Integer integer = integerValue; 47 private Long longV = longValue; 48 private ObjectName objectName = objectNameValue; 49 private boolean primitiveBoolean = primitiveBooleanValue; 50 private byte primitiveByte = primitiveByteValue; 51 private char primitiveChar = primitiveCharValue; 52 private double primitiveDouble = primitiveDoubleValue; 53 private float primitiveFloat = primitiveFloatValue; 54 private int primitiveInt = primitiveIntValue; 55 private long primitiveLong = primitiveLongValue; 56 private Short shortV = shortValue; 57 private short primitiveShort = primitiveShortValue; 58 private String string = stringValue; 59 60 public BigDecimal getBigDecimal() 61 { 62 return bigDecimal; 63 } 64 65 public BigInteger getBigInteger() 66 { 67 return bigInteger; 68 } 69 70 public Boolean getBoolean() 71 { 72 return booleanV; 73 } 74 75 public Byte getByte() 76 { 77 return byteV; 78 } 79 80 public Character getCharacter() 81 { 82 return characterV; 83 } 84 85 public Date getDate() 86 { 87 return date; 88 } 89 90 public Double getDouble() 91 { 92 return doubleV; 93 } 94 95 public Float getFloat() 96 { 97 return floatV; 98 } 99 100 public Integer getInteger() 101 { 102 return integer; 103 } 104 105 public Long getLong() 106 { 107 return longV; 108 } 109 110 public ObjectName getObjectName() 111 { 112 return objectName; 113 } 114 115 public byte getPrimitiveByte() 116 { 117 return primitiveByte; 118 } 119 120 public char getPrimitiveChar() 121 { 122 return primitiveChar; 123 } 124 125 public double getPrimitiveDouble() 126 { 127 return primitiveDouble; 128 } 129 130 public float getPrimitiveFloat() 131 { 132 return primitiveFloat; 133 } 134 135 public int getPrimitiveInt() 136 { 137 return primitiveInt; 138 } 139 140 public long getPrimitiveLong() 141 { 142 return primitiveLong; 143 } 144 145 public short getPrimitiveShort() 146 { 147 return primitiveShort; 148 } 149 150 public Short getShort() 151 { 152 return shortV; 153 } 154 155 public String getString() 156 { 157 return string; 158 } 159 160 public boolean isPrimitiveBoolean() 161 { 162 return primitiveBoolean; 163 } 164 165 public void setBoolean(Boolean booleanV) 166 { 167 this.booleanV = booleanV; 168 } 169 170 public void setByte(Byte byteV) 171 { 172 this.byteV = byteV; 173 } 174 175 public void setCharacter(Character characterV) 176 { 177 this.characterV = characterV; 178 } 179 180 public void setDouble(Double doubleV) 181 { 182 this.doubleV = doubleV; 183 } 184 185 public void setFloat(Float floatV) 186 { 187 this.floatV = floatV; 188 } 189 190 public void setLong(Long longV) 191 { 192 this.longV = longV; 193 } 194 195 public void setShort(Short shortV) 196 { 197 this.shortV = shortV; 198 } 199 200 public void setBigDecimal(BigDecimal bigDecimal) 201 { 202 this.bigDecimal = bigDecimal; 203 } 204 205 public void setBigInteger(BigInteger bigInteger) 206 { 207 this.bigInteger = bigInteger; 208 } 209 210 public void setDate(Date date) 211 { 212 this.date = date; 213 } 214 215 public void setInteger(Integer integer) 216 { 217 this.integer = integer; 218 } 219 220 public void setObjectName(ObjectName objectName) 221 { 222 this.objectName = objectName; 223 } 224 225 public void setPrimitiveBoolean(boolean primitiveBoolean) 226 { 227 this.primitiveBoolean = primitiveBoolean; 228 } 229 230 public void setPrimitiveByte(byte primitiveByte) 231 { 232 this.primitiveByte = primitiveByte; 233 } 234 235 public void setPrimitiveChar(char primitiveChar) 236 { 237 this.primitiveChar = primitiveChar; 238 } 239 240 public void setPrimitiveDouble(double primitiveDouble) 241 { 242 this.primitiveDouble = primitiveDouble; 243 } 244 245 public void setPrimitiveFloat(float primitiveFloat) 246 { 247 this.primitiveFloat = primitiveFloat; 248 } 249 250 public void setPrimitiveInt(int primitiveInt) 251 { 252 this.primitiveInt = primitiveInt; 253 } 254 255 public void setPrimitiveLong(long primitiveLong) 256 { 257 this.primitiveLong = primitiveLong; 258 } 259 260 public void setPrimitiveShort(short primitiveShort) 261 { 262 this.primitiveShort = primitiveShort; 263 } 264 265 public void setString(String string) 266 { 267 this.string = string; 268 } 269 } 270 | Popular Tags |