1   package org.org.usurper.dummydomain;
2   
3   import org.apache.commons.lang.builder.ToStringBuilder;
4   import org.apache.commons.lang.builder.ToStringStyle;
5   import org.org.usurper.dummydomain.DummyVOWithEnum.EnumProperty;
6   
7   /**
8    * @author pagregoire
9    */
10  public class DummyVOWithArrays {
11  
12      private Integer[] integerArray;
13  
14      private int[] intArray;
15      private short[] shortArray;
16      private long[] longArray;
17      private boolean[] booleanArray;
18      private byte[] byteArray;
19      private char[] charArray;
20      private float[] floatArray;
21      private double[] doubleArray;
22  
23      private EnumProperty[] enumProperties;
24  
25      public EnumProperty[] getEnumProperties() {
26          return this.enumProperties;
27      }
28  
29      public void setEnumProperties(EnumProperty[] enumProperties) {
30          this.enumProperties = enumProperties;
31      }
32  
33      /**
34       * @return Returns the intArray.
35       */
36      public int[] getIntArray() {
37          return this.intArray;
38      }
39  
40      /**
41       * @param intArray
42       *            The intArray to set.
43       */
44      public void setIntArray(int[] intArray) {
45          this.intArray = intArray;
46      }
47  
48      /**
49       * @return Returns the integerArray.
50       */
51      public Integer[] getIntegerArray() {
52          return this.integerArray;
53      }
54  
55      /**
56       * @param integerArray
57       *            The integerArray to set.
58       */
59      public void setIntegerArray(Integer[] integerArray) {
60          this.integerArray = integerArray;
61      }
62  
63      /**
64       * @see java.lang.Object#toString()
65       */
66      public String toString() {
67          return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("intArray", this.intArray).append("enumProperties", this.enumProperties).append("integerArray", this.integerArray).toString();
68      }
69  
70      public boolean[] getBooleanArray() {
71          return booleanArray;
72      }
73  
74      public void setBooleanArray(boolean[] booleanArray) {
75          this.booleanArray = booleanArray;
76      }
77  
78      public byte[] getByteArray() {
79          return byteArray;
80      }
81  
82      public void setByteArray(byte[] byteArray) {
83          this.byteArray = byteArray;
84      }
85  
86      public char[] getCharArray() {
87          return charArray;
88      }
89  
90      public void setCharArray(char[] charArray) {
91          this.charArray = charArray;
92      }
93  
94      public double[] getDoubleArray() {
95          return doubleArray;
96      }
97  
98      public void setDoubleArray(double[] doubleArray) {
99          this.doubleArray = doubleArray;
100     }
101 
102     public float[] getFloatArray() {
103         return floatArray;
104     }
105 
106     public void setFloatArray(float[] floatArray) {
107         this.floatArray = floatArray;
108     }
109 
110     public long[] getLongArray() {
111         return longArray;
112     }
113 
114     public void setLongArray(long[] longArray) {
115         this.longArray = longArray;
116     }
117 
118     public short[] getShortArray() {
119         return shortArray;
120     }
121 
122     public void setShortArray(short[] shortArray) {
123         this.shortArray = shortArray;
124     }
125 
126 }