View Javadoc
1   package org.melati.poem.test.pojo;
2   
3   import java.math.BigDecimal;
4   import java.sql.Date;
5   import java.sql.Timestamp;
6   
7   
8   
9   /**
10   * A dog.
11   */
12  public class ClassWithNoIdAndPublicMembers { 
13    /**
14     * 
15     */
16    public ClassWithNoIdAndPublicMembers() { 
17      
18    }
19    public ClassWithNoIdAndPublicMembers(String name) {
20      this.name = name;
21    }
22    /** The name.  */
23    public String name;
24    /** The classWithNoIdAndPrivateMembers. */
25    public ClassWithNoIdAndPrivateMembers classWithNoIdAndPrivateMembers;
26    
27    /** Am I hungry: yes.  */
28    public boolean hungry = true;
29    /** Am I really hungry: yes.  */
30    public Boolean reallyHungry = Boolean.TRUE;
31    /** Number of legs. */
32    public int legs = 4;
33    /** Number of tails. */
34    public Integer tail = new Integer(1);
35  
36    /** long. */
37    public long aLong;
38    /** A Long. */
39    public Long aLongObject;
40    /** */
41    public double d;
42    /** */
43    public Double dd;
44    /** Value. */
45    public BigDecimal price;
46    
47    /** dob. */
48    public Date dateOfBirth;
49    /** A Long. */
50    public Timestamp timeOfBirth;
51  
52    private String thoughts;
53    
54    
55    /**
56     * @return the thoughts
57     */
58    public String getThoughts() { 
59      return thoughts;
60    }
61    /**
62     * @return the aLong
63     */
64    public long getALong() {
65      return aLong;
66    }
67    /**
68     * @param long1 the aLong to set
69     */
70    public void setALong(long long1) {
71      aLong = long1;
72    }
73    /**
74     * @return the aLongObject
75     */
76    public Long getALongObject() {
77      return aLongObject;
78    }
79    /**
80     * @param longObject the aLongObject to set
81     */
82    public void setALongObject(Long longObject) {
83      aLongObject = longObject;
84    }
85    /**
86     * @return the classWithNoIdAndPrivateMembers
87     */
88    public ClassWithNoIdAndPrivateMembers getClassWithNoIdAndPrivateMembers() {
89      return classWithNoIdAndPrivateMembers;
90    }
91    /**
92     * @param classWithNoIdAndPrivateMembers the classWithNoIdAndPrivateMembers to set
93     */
94    public void setClassWithNoIdAndPrivateMembers(ClassWithNoIdAndPrivateMembers classWithNoIdAndPrivateMembers) {
95      this.classWithNoIdAndPrivateMembers = classWithNoIdAndPrivateMembers;
96    }
97    /**
98     * @return the d
99     */
100   public double getD() {
101     return d;
102   }
103   /**
104    * @param d the d to set
105    */
106   public void setD(double d) {
107     this.d = d;
108   }
109   /**
110    * @param d the d to set
111    */
112   public void setD(Double d) {
113     this.d = d.doubleValue();
114   }
115   /**
116    * @return the dateOfBirth
117    */
118   public Date getDateOfBirth() {
119     return dateOfBirth;
120   }
121   /**
122    * @param dateOfBirth the dateOfBirth to set
123    */
124   public void setDateOfBirth(Date dateOfBirth) {
125     this.dateOfBirth = dateOfBirth;
126   }
127   /**
128    * @return the dd
129    */
130   public Double getDd() {
131     return dd;
132   }
133   /**
134    * @param dd the dd to set
135    */
136   public void setDd(Double dd) {
137     this.dd = dd;
138   }
139   /**
140    * @return the hungry
141    */
142   public boolean isHungry() {
143     return hungry;
144   }
145   /**
146    * @param hungry the hungry to set
147    */
148   public void setHungry(boolean hungry) {
149     this.hungry = hungry;
150   }
151   /**
152    * @return the legs
153    */
154   public int getLegs() {
155     return legs;
156   }
157   /**
158    * @param legs the legs to set
159    */
160   public void setLegs(int legs) {
161     this.legs = legs;
162   }
163   /**
164    * @return the name
165    */
166   public String getName() {
167     return name;
168   }
169   /**
170    * @param name the name to set
171    */
172   public void setName(String name) {
173     this.name = name;
174   }
175   /**
176    * @return the price
177    */
178   public BigDecimal getPrice() {
179     return price;
180   }
181   /**
182    * @param price the price to set
183    */
184   public void setPrice(BigDecimal price) {
185     this.price = price;
186   }
187   /**
188    * @return the reallyHungry
189    */
190   public Boolean getReallyHungry() {
191     return reallyHungry;
192   }
193   /**
194    * @param reallyHungry the reallyHungry to set
195    */
196   public void setReallyHungry(Boolean reallyHungry) {
197     this.reallyHungry = reallyHungry;
198   }
199   /**
200    * @return the tail
201    */
202   public Integer getTail() {
203     return tail;
204   }
205   /**
206    * @param tail the tail to set
207    */
208   public void setTail(Integer tail) {
209     this.tail = tail;
210   }
211   /**
212    * @return the timeOfBirth
213    */
214   public Timestamp getTimeOfBirth() {
215     return timeOfBirth;
216   }
217   /**
218    * @param timeOfBirth the timeOfBirth to set
219    */
220   public void setTimeOfBirth(Timestamp timeOfBirth) {
221     this.timeOfBirth = timeOfBirth;
222   }
223   /**
224    * @param thoughts the thoughts to set
225    */
226   public void setThoughts(String thoughts) {
227     this.thoughts = thoughts;
228   }
229 }