View Javadoc
1   /*
2    *    Copyright 2009-2021 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 org.apache.ibatis.submitted.null_associations;
17  
18  import java.io.Serializable;
19  
20  public class Foo implements Serializable {
21  
22    private long field1;
23    private Bar field2;
24    private boolean field3;
25  
26    public Foo() {
27      super();
28    }
29  
30    public Foo(long field1, Bar field2, boolean field3) {
31      super();
32      this.field1 = field1;
33      this.field2 = field2;
34      this.field3 = field3;
35    }
36  
37    public long getField1() {
38      return field1;
39    }
40  
41    public void setField1(long field1) {
42      this.field1 = field1;
43    }
44  
45    public Bar getField2() {
46      return field2;
47    }
48  
49    public void setField2(Bar field2) {
50      this.field2 = field2;
51    }
52  
53    public boolean isField3() {
54      return field3;
55    }
56  
57    public void setField3(boolean field3) {
58      this.field3 = field3;
59    }
60  
61  }