KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > dozer > util > mapping > vo > map > SimpleObj


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.map;
17
18 import java.util.HashMap JavaDoc;
19 import java.util.Map JavaDoc;
20
21 import net.sf.dozer.util.mapping.vo.BaseTestObject;
22
23
24 /**
25  * @author tierney.matt
26  */

27 public class SimpleObj extends BaseTestObject {
28   
29   private String JavaDoc field1;
30   private String JavaDoc field2;
31   private String JavaDoc simpleobjfield;
32   private NestedObj nested;
33   private Map JavaDoc nested2;
34
35   public String JavaDoc getField1() {
36     return field1;
37   }
38
39   public void setField1(String JavaDoc field1) {
40     this.field1 = field1;
41   }
42
43   public NestedObj getNested() {
44     return nested;
45   }
46
47   public void setNested(NestedObj nested) {
48     this.nested = nested;
49   }
50
51   public Map JavaDoc getNested2() {
52     return nested2;
53   }
54
55   public void setNested2(Map JavaDoc nested2) {
56     this.nested2 = nested2;
57   }
58
59   public String JavaDoc getSimpleobjfield() {
60     return simpleobjfield;
61   }
62
63   public void setSimpleobjfield(String JavaDoc simpleobjfield) {
64     this.simpleobjfield = simpleobjfield;
65   }
66
67   public String JavaDoc getField2() {
68     return field2;
69   }
70
71   public void setField2(String JavaDoc field2) {
72     this.field2 = field2;
73   }
74 }
75
Popular Tags