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.null_associations;
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 boolean field3;
26  
27    public Foo() {
28    }
29  
30    public Foo(long field1, Bar field2, boolean field3) {
31      this.field1 = field1;
32      this.field2 = field2;
33      this.field3 = field3;
34    }
35  
36    public long getField1() {
37      return field1;
38    }
39  
40    public void setField1(long field1) {
41      this.field1 = field1;
42    }
43  
44    public Bar getField2() {
45      return field2;
46    }
47  
48    public void setField2(Bar field2) {
49      this.field2 = field2;
50    }
51  
52    public boolean isField3() {
53      return field3;
54    }
55  
56    public void setField3(boolean field3) {
57      this.field3 = field3;
58    }
59  
60  }