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