1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.ibatis.submitted.constructor_columnprefix;
17
18 public class Article {
19
20 private final EntityKey id;
21
22 private final String name;
23
24 private final Author author;
25
26 private final Author coauthor;
27
28 public Article(EntityKey id, String name, Author author, Author coauthor) {
29 this.id = id;
30 this.name = name;
31 this.author = author;
32 this.coauthor = coauthor;
33 }
34
35 public EntityKey getId() {
36 return id;
37 }
38
39 public String getName() {
40 return name;
41 }
42
43 public Author getAuthor() {
44 return author;
45 }
46
47 public Author getCoauthor() {
48 return coauthor;
49 }
50 }