1 16 package net.sf.dozer.util.mapping.vo; 17 18 import java.util.ArrayList ; 19 import java.util.List ; 20 21 27 public class MethodFieldTestObject2 extends BaseTestObject { 28 List integerList = new ArrayList (); 29 long totalPrice; 30 String fieldOne; 31 32 public void addIntegerToList(Integer integer) { 33 integerList.add(integer); 34 } 35 36 public void addToTotalPrice(long value) { 37 totalPrice += value; 38 } 39 40 public List getIntegerList() { 41 return integerList; 42 } 43 public long getTotalPrice() { 44 return totalPrice; 45 } 46 public void setTotalPrice(long totalPrice) { 47 this.totalPrice = totalPrice; 48 } 49 public void setIntegerList(List integerList) { 50 this.integerList = integerList; 51 } 52 53 public String getFieldOne() { 54 return fieldOne; 55 } 56 57 public void setFieldOne(String fieldOne) { 58 this.fieldOne = fieldOne; 59 } 60 61 } 62 | Popular Tags |