View Javadoc
1   /*
2    *    Copyright 2009-2023 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    *       https://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 org.apache.ibatis.submitted.overwritingproperties;
17  
18  import java.io.Serializable;
19  
20  public class Foo implements Serializable {
21  
22    private static final long serialVersionUID = 1L;
23    private Long field1;
24    private Bar field2;
25    private Integer field3;
26    private Integer field4;
27  
28    public Foo() {
29    }
30  
31    public Foo(Long field1, Bar field2, Integer field3, Integer field4) {
32      this.field1 = field1;
33      this.field2 = field2;
34      this.field3 = field3;
35      this.field4 = field4;
36    }
37  
38    public Long getField1() {
39      return field1;
40    }
41  
42    public void setField1(Long field1) {
43      this.field1 = field1;
44    }
45  
46    public Bar getField2() {
47      return field2;
48    }
49  
50    public void setField2(Bar field2) {
51      this.field2 = field2;
52    }
53  
54    public Integer getField3() {
55      return field3;
56    }
57  
58    public void setField3(Integer field3) {
59      this.field3 = field3;
60    }
61  
62    public Integer getField4() {
63      return field4;
64    }
65  
66    public void setField4(Integer field4) {
67      this.field4 = field4;
68    }
69  }