1 | public class User {↵ | | 1 | public class Circular {↵
|
2 | ↵ | | 2 | ↵
|
3 | private Long id;↵ | | 3 | private String id;↵
|
4 | private String userName;↵ | | 4 | private ↵
|
5 | private Human human;↵ | | |
|
6 | private List permissions;↵ | | |
|
| | | 5 | Class clazz;↵
|
| | | 6 | private Circular other;↵
|
| | | 7 | private Object anyEntity;↵
|
| | | 8 | ↵
|
| | | 9 | /**↵
|
| | | 10 | * Constructor for Circular.↵
|
| | | 11 | */↵
|
| | | 12 | public Circular() {↵
|
| | | 13 | super();↵
|
| | | 14 | }↵
|
| | | 15 | ↵
|
| | | 16 | /**↵
|
| | | 17 | * Returns the clazz.↵
|
| | | 18 | * @return Class↵
|
| | | 19 | */↵
|
| | | 20 | public Class getClazz() {↵
|
| | | 21 | return clazz;↵
|
| | | 22 | }↵
|
| | | 23 | ↵
|
| | | 24 | /**↵
|
| | | 25 | * Returns the id.↵
|
| | | 26 | * @return String↵
|
| | | 27 | */↵
|
7 | public Long getId() {↵ | | 28 | public String getId() {↵
|
8 | return id;↵ | | 29 | return id;↵
|
9 | }↵ | | 30 | }↵
|
|
10 | public void setId(Long id) {↵ | | |
|
11 | this.id = id↵ | | 31 | ↵
|
| | | 32 | /**↵
|
| | | 33 | * Sets the clazz.↵
|
| | | 34 | * @param clazz The clazz to set↵
|
| | | 35 | */↵
|
| | | 36 | public void setClazz(Class clazz) {↵
|
12 | ;↵ | | 37 | this.clazz = clazz;↵
|
13 | }↵ | | 38 | }↵
|
| | | 39 | ↵
|
14 | public String getUserName() {↵ | | 40 | ↵
|
15 | return userName;↵ | | |
|
16 | }↵ | | |
|
|
17 | public void setUserName(String userName) {↵ | | |
|
18 | this.userName = userName;↵ | | |
|
19 | }↵ | | |
|
|
20 | public Human getHuman() {↵ | | |
|
21 | return human;↵ | | |
|
22 | }↵ | | |
|
|
23 | public void setHuman(Human human↵ | | 41 | /**↵
|
| | | 42 | * Sets the id.↵
|
| | | 43 | * @param id The id to set↵
|
| | | 44 | */↵
|
| | | 45 | public void setId(String id) {↵
|
| | | 46 | this.id = id;↵
|
| | | 47 | }↵
|
| | | 48 | ↵
|
| | | 49 | /**↵
|
| | | 50 | * Returns the other.↵
|
| | | 51 | * @return Circular↵
|
| | | 52 | */↵
|
| | | 53 | public Circular getOther() {↵
|
| | | 54 | return other;↵
|
| | | 55 | }↵
|
| | | 56 | ↵
|
| | | 57 | /**↵
|
| | | 58 | * Sets the other.↵
|
| | | 59 | * @param other The other to set↵
|
| | | 60 | */↵
|
24 | ) {↵ | | 61 | public void setOther(Circular other) {↵
|
25 | this.human = human;↵ | | 62 | this.↵
|
26 | }↵ | | |
|
|
27 | public List getPermissions() {↵ | | |
|
28 | return permissions;↵ | | |
|
29 | }↵ | | |
|
30 | ↵ | | |
|
|
31 | public void setPermissions(List permissions) {↵ | | |
|
32 | this.permissions = permissions | | 63 | other = other;↵
|
| | | 64 | }↵
|
| | | 65 | ↵
|
| | | 66 | /**↵
|
| | | 67 | * Returns the anyEntity.↵
|
| | | 68 | * @return Object↵
|
| | | 69 | */↵
|
| | | 70 | public Object getAnyEntity() {↵
|
| | | 71 | return anyEntity;↵
|
| | | 72 | }↵
|
| | | 73 | ↵
|
| | | 74 | /**↵
|
| | | 75 | * Sets the anyEntity.↵
|
| | | 76 | * @param anyEntity The anyEntity to set↵
|
| | | 77 | */↵
|
| | | 78 | public void setAnyEntity(Object anyEntity) {↵
|
| | | 79 | this.anyEntity = anyEntity
|