1 16 package net.sf.dozer.util.mapping.vo; 17 18 import java.math.BigDecimal ; 19 import java.util.Calendar ; 20 import java.util.Date ; 21 import java.util.GregorianCalendar ; 22 import java.util.List ; 23 24 import net.sf.dozer.util.mapping.exception.DozerRuntimeException; 25 26 32 public class TestObjectPrime extends BaseTestObject { 33 private String onePrime; 34 private Integer twoPrime; 35 private InsideTestObjectPrime threePrime; 36 private InsideTestObjectPrime insideTestObject; 37 private java.util.List equalNamedList; 38 private java.util.List listForArray; 39 private java.util.List theMappedUnequallyNamedList; 40 private List arrayForLists; 41 private int[] theMappedArray; 42 private double thePrimitive; 43 private int anotherPrimitive; 44 private int bigDecimalToInt; 45 private BigDecimal intToBigDecimal; 46 private Calendar date; private GregorianCalendar calendar; private NoCustomMappingsObjectPrime noMappingsObj; 49 private List hintList; 50 private Date timeStamp; 51 private Date dateFromStr; 52 private Double doubleObject; 53 private Long theLongValue; 54 private long[] primitiveArray; 55 private Apple van; 56 private String excludeMe = "excludeMe"; 57 private MetalThingyIF vanMetalThingy; 58 private Date blankDate; 59 private Long blankStringToLong; 60 private String createdByFactoryName; 61 private NoExtendBaseObject copyByReferencePrime; 62 private NoExtendBaseObjectGlobalCopyByReference globalCopyByReferencePrime; 63 private Apple[] arrayToSet; 64 private Object [] objectArrayToSet; 65 private Apple[] setToArrayWithValues; 66 private List listToSet; 67 private List setToListWithValues; 68 public static String fieldAccessible; 69 public int fieldAccessiblePrimInt; 70 public InsideTestObjectPrime fieldAccessibleComplexType; 71 private List stringArrayWithNullValue; 72 public List fieldAccessibleArrayToList; 73 private Date overloadSetField; 74 private InsideTestObjectPrime createMethodType; 75 private String excludeMeOneWay = "excludeMeOneWay"; 76 private String throwAllowedExceptionOnMapPrime; 77 private String throwNonAllowedExceptionOnMapPrime; 78 79 public long[] getPrimitiveArray() { 80 return primitiveArray; 81 } 82 83 public void setPrimitiveArray(long[] primitiveArray) { 84 this.primitiveArray = primitiveArray; 85 } 86 87 public Long getTheLongValue() { 88 return theLongValue; 89 } 90 91 public void setTheLongValue(Long theLongValue) { 92 this.theLongValue = theLongValue; 93 } 94 95 96 public GregorianCalendar getCalendar() { 97 return calendar; 98 } 99 100 public void setCalendar(GregorianCalendar calendar) { 101 this.calendar = calendar; 102 } 103 104 public void setAnotherPrimitive(int anotherPrimitive) { 105 this.anotherPrimitive = anotherPrimitive; 106 } 107 108 public int getAnotherPrimitive() { 109 return anotherPrimitive; 110 } 111 112 public void setEqualNamedList(java.util.List equalNamedList) { 113 this.equalNamedList = equalNamedList; 114 } 115 116 public java.util.List getEqualNamedList() { 117 return equalNamedList; 118 } 119 120 public void setOnePrime(String onePrime) { 121 this.onePrime = onePrime; 122 } 123 124 public String getOnePrime() { 125 return onePrime; 126 } 127 128 public void setTheMappedArray(int[] mappedArray) { 129 theMappedArray = mappedArray; 130 } 131 132 public int[] getTheMappedArray() { 133 return theMappedArray; 134 } 135 136 public void setTheMappedUnequallyNamedList(java.util.List theMappedUnequallyNamedList) { 137 this.theMappedUnequallyNamedList = theMappedUnequallyNamedList; 138 } 139 140 public java.util.List getTheMappedUnequallyNamedList() { 141 return theMappedUnequallyNamedList; 142 } 143 144 public void setThePrimitive(double primitive) { 145 thePrimitive = primitive; 146 } 147 148 public double getThePrimitive() { 149 return thePrimitive; 150 } 151 152 public void setThreePrime(InsideTestObjectPrime threePrime) { 153 this.threePrime = threePrime; 154 } 155 156 public InsideTestObjectPrime getThreePrime() { 157 return threePrime; 158 } 159 160 public void setTwoPrime(Integer twoPrime) { 161 this.twoPrime = twoPrime; 162 } 163 164 public Integer getTwoPrime() { 165 return twoPrime; 166 } 167 168 public void setListForArray(java.util.List listForArray) { 169 this.listForArray = listForArray; 170 } 171 172 public java.util.List getListForArray() { 173 return listForArray; 174 } 175 176 public InsideTestObjectPrime getInsideTestObject() { 177 return insideTestObject; 178 } 179 180 public void setInsideTestObject(InsideTestObjectPrime insideTestObject) { 181 this.insideTestObject = insideTestObject; 182 } 183 184 public int getBigDecimalToInt() { 185 return bigDecimalToInt; 186 } 187 188 public void setBigDecimalToInt(int bigDecimalToInt) { 189 this.bigDecimalToInt = bigDecimalToInt; 190 } 191 192 public BigDecimal getIntToBigDecimal() { 193 return intToBigDecimal; 194 } 195 196 public void setIntToBigDecimal(BigDecimal intToBigDecimal) { 197 this.intToBigDecimal = intToBigDecimal; 198 } 199 200 public Calendar getDate() { 201 return date; 202 } 203 204 public void setDate(Calendar calendar) { 205 this.date = calendar; 206 } 207 208 public NoCustomMappingsObjectPrime getNoMappingsObj() { 209 return noMappingsObj; 210 } 211 212 public void setNoMappingsObj(NoCustomMappingsObjectPrime noMappingsObj) { 213 this.noMappingsObj = noMappingsObj; 214 } 215 216 public List getArrayForLists() { 217 return arrayForLists; 218 } 219 220 public void setArrayForLists(List arrayForLists) { 221 this.arrayForLists = arrayForLists; 222 } 223 224 public List getHintList() { 225 return hintList; 226 } 227 228 public void setHintList(List hintList) { 229 this.hintList = hintList; 230 } 231 232 public Date getTimeStamp() { 233 return timeStamp; 234 } 235 236 public void setTimeStamp(Date timeStamp) { 237 this.timeStamp = timeStamp; 238 } 239 240 public Date getDateFromStr() { 241 return dateFromStr; 242 } 243 244 public void setDateFromStr(Date dateFromStr) { 245 this.dateFromStr = dateFromStr; 246 } 247 248 public Double getDoubleObject() { 249 return doubleObject; 250 } 251 public void setDoubleObject(Double doubleObject) { 252 this.doubleObject = doubleObject; 253 } 254 255 public Apple getVan() { 256 return van; 257 } 258 259 public void setVan(Apple van) { 260 this.van = van; 261 } 262 263 public String getExcludeMe() { 264 return excludeMe; 265 } 266 267 public void setExcludeMe(String excludeMe) { 268 this.excludeMe = excludeMe; 269 } 270 271 public MetalThingyIF getVanMetalThingy() { 272 return vanMetalThingy; 273 } 274 275 public void setVanMetalThingy(MetalThingyIF vanMetalThingy) { 276 this.vanMetalThingy = vanMetalThingy; 277 } 278 279 public Date getBlankDate() { 280 return blankDate; 281 } 282 283 public void setBlankDate(Date blankDate) { 284 this.blankDate = blankDate; 285 } 286 287 public Long getBlankStringToLong() { 288 return blankStringToLong; 289 } 290 291 public void setBlankStringToLong(Long blankStringToLong) { 292 this.blankStringToLong = blankStringToLong; 293 } 294 295 public String getCreatedByFactoryName() { 296 return createdByFactoryName; 297 } 298 299 public void setCreatedByFactoryName(String createdByFactoryName) { 300 this.createdByFactoryName = createdByFactoryName; 301 } 302 303 public NoExtendBaseObject getCopyByReferencePrime() { 304 return copyByReferencePrime; 305 } 306 307 public void setCopyByReferencePrime(NoExtendBaseObject copyByReferencePrime) { 308 this.copyByReferencePrime = copyByReferencePrime; 309 } 310 311 public NoExtendBaseObjectGlobalCopyByReference getGlobalCopyByReferencePrime() { 312 return globalCopyByReferencePrime; 313 } 314 315 public void setGlobalCopyByReferencePrime(NoExtendBaseObjectGlobalCopyByReference globalCopyByReferencePrime) { 316 this.globalCopyByReferencePrime = globalCopyByReferencePrime; 317 } 318 319 public Apple[] getArrayToSet() { 320 return arrayToSet; 321 } 322 323 public void setArrayToSet(Apple[] arrayToSet) { 324 this.arrayToSet = arrayToSet; 325 } 326 327 public Object [] getObjectArrayToSet() { 328 return objectArrayToSet; 329 } 330 331 public void setObjectArrayToSet(Object [] objectArrayToSet) { 332 this.objectArrayToSet = objectArrayToSet; 333 } 334 335 public Apple[] getSetToArrayWithValues() { 336 return setToArrayWithValues; 337 } 338 339 public void setSetToArrayWithValues(Apple[] setToArrayWithValues) { 340 this.setToArrayWithValues = setToArrayWithValues; 341 } 342 343 public List getListToSet() { 344 return listToSet; 345 } 346 347 public void setListToSet(List listToSet) { 348 this.listToSet = listToSet; 349 } 350 351 public List getSetToListWithValues() { 352 return setToListWithValues; 353 } 354 355 public void setSetToListWithValues(List setToListWithValues) { 356 this.setToListWithValues = setToListWithValues; 357 } 358 359 public List getStringArrayWithNullValue() { 360 return stringArrayWithNullValue; 361 } 362 363 public void setStringArrayWithNullValue(List stringArrayWithNullValue) { 364 this.stringArrayWithNullValue = stringArrayWithNullValue; 365 } 366 367 public Date getOverloadSetField() { 368 return overloadSetField; 369 } 370 371 public void setOverloadSetField(Date date) { 372 this.overloadSetField = date; 373 } 374 375 public void setOverloadSetField(InsideTestObject ito) { 376 } 377 378 public InsideTestObjectPrime getCreateMethodType() { 379 return createMethodType; 380 } 381 382 public void setCreateMethodType(InsideTestObjectPrime createMethodType) { 383 this.createMethodType = createMethodType; 384 } 385 386 public String getExcludeMeOneWay() { 387 return excludeMeOneWay; 388 } 389 390 public void setExcludeMeOneWay(String excludeMeOneWay) { 391 this.excludeMeOneWay = excludeMeOneWay; 392 } 393 394 public String getThrowAllowedExceptionOnMapPrime() { 395 return throwAllowedExceptionOnMapPrime; 396 } 397 398 public void setThrowAllowedExceptionOnMapPrime(String throwAllowedExceptionOnMapPrime) { 399 throw new DozerRuntimeException("Checking Allowed Exceptions"); 400 } 401 402 public String getThrowNonAllowedExceptionOnMapPrime() { 403 return throwNonAllowedExceptionOnMapPrime; 404 } 405 406 public void setThrowNonAllowedExceptionOnMapPrime(String throwNonAllowedExceptionOnMapPrime) { 407 throw new RuntimeException ("Checking Allowed Exceptions"); 408 } 409 410 } 411 | Popular Tags |