KickJava   Java API By Example, From Geeks To Geeks.

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


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
19 /**
20  * @author garsombke.franz
21  * @author sullins.ben
22  * @author tierney.matt
23  *
24  */

25 public class AnotherTestObjectPrime extends BaseTestObject {
26   public final static int DEFAULT_FIELD1 = Integer.MAX_VALUE;
27
28   private int field1 = DEFAULT_FIELD1;
29   private Integer JavaDoc field2;
30   private String JavaDoc field3;
31   private TestObject to;
32   
33   public int getField1() {
34     return field1;
35   }
36
37   public void setField1(int field1) {
38     this.field1 = field1;
39   }
40
41   public Integer JavaDoc getField2() {
42     return field2;
43   }
44
45   public void setField2(Integer JavaDoc field2) {
46     this.field2 = field2;
47   }
48
49   public TestObject getTo() {
50     return to;
51   }
52
53   public void setTo(TestObject to) {
54     this.to = to;
55   }
56
57   public String JavaDoc getField3() {
58     return field3;
59   }
60
61   public void setField3(String JavaDoc field3) {
62     this.field3 = field3;
63   }
64
65 }
66
Popular Tags