KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > dozer > util > mapping > vo > deep > Description


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.deep;
17
18 import java.util.ArrayList JavaDoc;
19 import java.util.List JavaDoc;
20
21 import net.sf.dozer.util.mapping.vo.BaseTestObject;
22 import net.sf.dozer.util.mapping.vo.Van;
23
24 /**
25  * @author garsombke.franz
26  * @author sullins.ben
27  * @author tierney.matt
28  */

29 public class Description extends BaseTestObject {
30
31     private Room[] rooms;
32     private String JavaDoc ownerName;
33     private String JavaDoc street;
34     private String JavaDoc city;
35     private String JavaDoc myName;
36     private List JavaDoc someOwners;
37     private List JavaDoc customSetGetMethod = new ArrayList JavaDoc();
38     
39     public String JavaDoc getCity() {
40         return city;
41     }
42
43     public void setCity(String JavaDoc city) {
44         this.city = city;
45     }
46
47     public String JavaDoc getOwnerName() {
48         return ownerName;
49     }
50
51     public void setOwnerName(String JavaDoc ownerName) {
52         this.ownerName = ownerName;
53     }
54
55     public Room[] getRooms() {
56         return rooms;
57     }
58
59     public void setRooms(Room[] rooms) {
60         this.rooms = rooms;
61     }
62
63     public String JavaDoc getStreet() {
64         return street;
65     }
66
67     public void setStreet(String JavaDoc street) {
68         this.street = street;
69     }
70
71     public String JavaDoc getMyName() {
72       return myName;
73     }
74
75     public void setMyName(String JavaDoc myName) {
76       this.myName = myName;
77     }
78
79     public List JavaDoc getSomeOwners() {
80       return someOwners;
81     }
82
83     public void setSomeOwners(List JavaDoc someOwners) {
84       this.someOwners = someOwners;
85     }
86
87     public List JavaDoc getCustomSetGetMethod() {
88       return customSetGetMethod;
89     }
90
91     public void setCustom(Van van) {
92       this.customSetGetMethod.add(van);
93     }
94
95
96
97
98 }
99
Popular Tags