1 | public class User {↵ | | 1 | public class Several implements Serializable {↵
|
2 | private Long id;↵ | | 2 | private String id;↵
|
3 | private String userName;↵ | | 3 | private String prop;↵
|
4 | private Human human;↵ | | 4 | private ↵
|
5 | private List permissions;↵ | | |
|
| | | 5 | Single single;↵
|
| | | 6 | private String string;↵
|
| | | 7 | /**↵
|
| | | 8 | * Returns the id.↵
|
| | | 9 | * @return String↵
|
| | | 10 | */↵
|
6 | public Long getId() {↵ | | 11 | public String getId() {↵
|
7 | return id;↵ | | 12 | return id;↵
|
8 | }↵ | | 13 | }↵
|
|
9 | public void setId(Long id) {↵ | | |
|
10 | this.id = id;↵ | | |
|
11 | }↵ | | |
|
| | | 14 | ↵
|
| | | 15 | /**↵
|
| | | 16 | * Returns the prop.↵
|
| | | 17 | * @return String↵
|
| | | 18 | */↵
|
| | | 19 | public String getProp() {↵
|
| | | 20 | return prop;↵
|
| | | 21 | }↵
|
| | | 22 | ↵
|
| | | 23 | /**↵
|
| | | 24 | * Returns the single.↵
|
| | | 25 | * @return Single↵
|
| | | 26 | */↵
|
12 | public String getUserName() {↵ | | 27 | public Single getSingle() {↵
|
13 | return userName;↵ | | 28 | return ↵
|
14 | }↵ | | |
|
|
15 | public void setUserName(String userName) {↵ | | |
|
16 | this.userName = userName;↵ | | |
|
17 | }↵ | | |
|
|
18 | public Human getHuman() {↵ | | |
|
19 | return human;↵ | | |
|
20 | }↵ | | |
|
|
21 | public void setHuman(Human human) {↵ | | |
|
22 | this.human = human;↵ | | |
|
23 | }↵ | | |
|
| | | 29 | single;↵
|
| | | 30 | }↵
|
| | | 31 | ↵
|
| | | 32 | /**↵
|
| | | 33 | * Sets the id.↵
|
| | | 34 | * @param id The id to set↵
|
| | | 35 | */↵
|
| | | 36 | public void setId(String id) {↵
|
| | | 37 | this.id = id;↵
|
| | | 38 | }↵
|
| | | 39 | ↵
|
| | | 40 | /**↵
|
| | | 41 | * Sets the prop.↵
|
| | | 42 | * @param prop The prop to set↵
|
| | | 43 | */↵
|
| | | 44 | public void setProp(String prop) {↵
|
| | | 45 | this.prop = prop;↵
|
| | | 46 | }↵
|
| | | 47 | ↵
|
| | | 48 | /**↵
|
| | | 49 | * Sets the single.↵
|
| | | 50 | * @param single The single to set↵
|
| | | 51 | */↵
|
| | | 52 | public void setSingle(Single single) {↵
|
| | | 53 | this.single = single;↵
|
| | | 54 | }↵
|
| | | 55 | ↵
|
| | | 56 | /**↵
|
| | | 57 | * Returns the string.↵
|
| | | 58 | * @return String↵
|
| | | 59 | */↵
|
24 | public List getPermissions() {↵ | | 60 | public ↵
|
25 | return permissions;↵ | | |
|
26 | }↵ | | |
|
27 | ↵ | | |
|
|
28 | public void setPermissions(List permissions) {↵ | | |
|
29 | this.permissions = permissions | | 61 | String getString() {↵
|
| | | 62 | return string;↵
|
| | | 63 | }↵
|
| | | 64 | ↵
|
| | | 65 | /**↵
|
| | | 66 | * Sets the string.↵
|
| | | 67 | * @param string The string to set↵
|
| | | 68 | */↵
|
| | | 69 | public void setString(String string) {↵
|
| | | 70 | this.string = string
|