1   /*
2    * Copyright 2006-2007-2007 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package net.sf.ezmorph.bean.sample;
18  
19  import org.apache.commons.lang.builder.ToStringBuilder;
20  import org.apache.commons.lang.builder.ToStringStyle;
21  
22  /**
23   * @author Andres Almiray <aalmiray@users.sourceforge.net>
24   */
25  public class ObjectBean
26  {
27     private Object parray;
28     private Object pbean;
29     private Object pboolean;
30     private Object pbyte;
31     private Object pchar;
32     private Object pclass;
33     private Object pdouble;
34     private Object pfloat;
35     private Object pint;
36     private Object plist;
37     private Object plong;
38     private Object pmap;
39     private Object pshort;
40     private Object pstring;
41  
42     public Object getParray()
43     {
44        return parray;
45     }
46  
47     public Object getPbean()
48     {
49        return pbean;
50     }
51  
52     public Object getPboolean()
53     {
54        return pboolean;
55     }
56  
57     public Object getPbyte()
58     {
59        return pbyte;
60     }
61  
62     public Object getPchar()
63     {
64        return pchar;
65     }
66  
67     public Object getPclass()
68     {
69        return pclass;
70     }
71  
72     public Object getPdouble()
73     {
74        return pdouble;
75     }
76  
77     public Object getPfloat()
78     {
79        return pfloat;
80     }
81  
82     public Object getPint()
83     {
84        return pint;
85     }
86  
87     public Object getPlist()
88     {
89        return plist;
90     }
91  
92     public Object getPlong()
93     {
94        return plong;
95     }
96  
97     public Object getPmap()
98     {
99        return pmap;
100    }
101 
102    public Object getPshort()
103    {
104       return pshort;
105    }
106 
107    public Object getPstring()
108    {
109       return pstring;
110    }
111 
112    public void setParray( Object parray )
113    {
114       this.parray = parray;
115    }
116 
117    public void setPbean( Object bean )
118    {
119       this.pbean = bean;
120    }
121 
122    public void setPboolean( Object pboolean )
123    {
124       this.pboolean = pboolean;
125    }
126 
127    public void setPbyte( Object pbyte )
128    {
129       this.pbyte = pbyte;
130    }
131 
132    public void setPchar( Object pchar )
133    {
134       this.pchar = pchar;
135    }
136 
137    public void setPclass( Object pclass )
138    {
139       this.pclass = pclass;
140    }
141 
142    public void setPdouble( Object pdouble )
143    {
144       this.pdouble = pdouble;
145    }
146 
147    public void setPfloat( Object pfloat )
148    {
149       this.pfloat = pfloat;
150    }
151 
152    public void setPint( Object pint )
153    {
154       this.pint = pint;
155    }
156 
157    public void setPlist( Object plist )
158    {
159       this.plist = plist;
160    }
161 
162    public void setPlong( Object plong )
163    {
164       this.plong = plong;
165    }
166 
167    public void setPmap( Object pmap )
168    {
169       this.pmap = pmap;
170    }
171 
172    public void setPshort( Object pshort )
173    {
174       this.pshort = pshort;
175    }
176 
177    public void setPstring( Object pstring )
178    {
179       this.pstring = pstring;
180    }
181 
182    public String toString()
183    {
184       return ToStringBuilder.reflectionToString( this, ToStringStyle.MULTI_LINE_STYLE );
185    }
186 }