KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > dozer > util > mapping > vo > InsideTestObject


1 /*
2  * Copyright 2005-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 package net.sf.dozer.util.mapping.vo;
17
18 import net.sf.dozer.util.mapping.vo.deep.House;
19
20 /**
21  * @author garsombke.franz
22  * @author sullins.ben
23  * @author tierney.matt
24  *
25  */

26 public class InsideTestObject extends BaseTestObject {
27
28   private String JavaDoc label;
29   private Integer JavaDoc wrapper;
30   private int toWrapper;
31   private String JavaDoc createdByFactoryName;
32   private House house;
33   private String JavaDoc testCreateMethod;
34
35   /**
36    * @return Returns the toWrapper.
37    */

38   public int getToWrapper() {
39     return toWrapper;
40   }
41
42   /**
43    * @param toWrapper The toWrapper to set.
44    */

45   public void setToWrapper(int toWrapper) {
46     this.toWrapper = toWrapper;
47   }
48
49   /**
50    * @return Returns the wrapper.
51    */

52   public Integer JavaDoc getWrapper() {
53     return wrapper;
54   }
55
56   /**
57    * @param wrapper The wrapper to set.
58    */

59   public void setWrapper(Integer JavaDoc wrapper) {
60     this.wrapper = wrapper;
61   }
62
63   /**
64    * @return Returns the label.
65    */

66   public String JavaDoc getLabel() {
67     return label;
68   }
69
70   /**
71    * @param label The label to set.
72    */

73   public void setLabel(String JavaDoc label) {
74     this.label = label;
75   }
76
77   public String JavaDoc getCreatedByFactoryName() {
78     return createdByFactoryName;
79   }
80
81   public void setCreatedByFactoryName(String JavaDoc createdByFactoryName) {
82     this.createdByFactoryName = createdByFactoryName;
83   }
84
85   public static InsideTestObject createMethod() {
86     InsideTestObject itop = new InsideTestObject();
87     itop.setTestCreateMethod("testCreateMethod");
88     return itop;
89   }
90
91   public String JavaDoc getTestCreateMethod() {
92     return testCreateMethod;
93   }
94
95   public void setTestCreateMethod(String JavaDoc testCreateMethod) {
96     this.testCreateMethod = testCreateMethod;
97   }
98   
99   public House getHouse() {
100     return house;
101   }
102
103   public void setHouse(House house) {
104     this.house = house;
105   }
106
107 }
108
Popular Tags