1 | public class Circular {↵ | | 1 | public class ↵
|
2 | ↵ | | 2 | Alien {↵
|
3 | private String id;↵ | | 3 | private Long 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 | ↵ | | |
|
15 | /**↵ | | |
|
16 | * Returns the clazz.↵ | | |
|
17 | * @return Class↵ | | |
|
18 | */↵ | | |
|
19 | public Class getClazz() {↵ | | |
|
20 | return clazz;↵ | | |
|
21 | }↵ | | |
|
22 | ↵ | | |
|
23 | /**↵ | | |
|
24 | * Returns the id.↵ | | |
|
25 | * @return String↵ | | |
|
26 | */↵ | | 5 | String identity;↵
|
| | | 6 | private String planet;↵
|
| | | 7 | private String species;↵
|
| | | 8 | ↵
|
| | | 9 | public void setIdentity(String identity) {↵
|
| | | 10 | this.identity = identity;↵
|
| | | 11 | }↵
|
27 | public String getId() {↵ | | 12 | public String getIdentity() {↵
|
28 | return id;↵ | | 13 | return id↵
|
29 | }↵ | | |
|
30 | ↵ | | |
|
31 | /**↵ | | |
|
32 | * Sets the clazz.↵ | | |
|
33 | * @param clazz The clazz to set↵ | | |
|
34 | */↵ | | |
|
35 | public void setClazz(Class clazz) {↵ | | |
|
36 | this.clazz = clazz;↵ | | |
|
37 | }↵ | | |
|
38 | ↵ | | |
|
39 | /**↵ | | |
|
40 | * Sets the id.↵ | | |
|
41 | * @param id The id to set↵ | | |
|
42 | */↵ | | |
|
43 | public void setId↵ | | 14 | entity;↵
|
| | | 15 | }↵
|
44 | (String id) {↵ | | 16 | public void setSpecies(String species) {↵
|
45 | this.id = id;↵ | | 17 | this.↵
|
46 | }↵ | | |
|
47 | ↵ | | |
|
48 | /**↵ | | |
|
49 | * Returns the other.↵ | | |
|
50 | * @return Circular↵ | | |
|
51 | */↵ | | |
|
52 | public Circular getOther() {↵ | | |
|
53 | return other;↵ | | |
|
54 | }↵ | | |
|
55 | ↵ | | |
|
56 | /**↵ | | |
|
57 | * Sets the other.↵ | | |
|
58 | * @param other The other to set↵ | | |
|
59 | */↵ | | |
|
60 | public void setOther(Circular other) {↵ | | |
|
61 | this.other = other;↵ | | |
|
62 | }↵ | | |
|
63 | ↵ | | |
|
64 | /**↵ | | |
|
65 | * Returns the anyEntity.↵ | | |
|
66 | * @return Object↵ | | |
|
67 | */↵ | | 18 | species = species;↵
|
| | | 19 | }↵
|
| | | 20 | public String getSpecies() {↵
|
| | | 21 | return species;↵
|
| | | 22 | }↵
|
| | | 23 | public void setPlanet(String planet) {↵
|
| | | 24 | this.planet = planet;↵
|
| | | 25 | }↵
|
68 | public Object getAnyEntity() {↵ | | 26 | public ↵
|
69 | return anyEntity;↵ | | |
|
70 | }↵ | | |
|
71 | ↵ | | |
|
72 | /**↵ | | |
|
73 | * Sets the anyEntity.↵ | | |
|
74 | * @param anyEntity The anyEntity to set↵ | | |
|
75 | */↵ | | |
|
76 | public void setAnyEntity(Object anyEntity) {↵ | | |
|
77 | this.anyEntity = anyEntity | | 27 | String getPlanet() {↵
|
| | | 28 | return planet;↵
|
| | | 29 | }↵
|
| | | 30 | public void setId(Long id) {↵
|
| | | 31 | this.id = id;↵
|
| | | 32 | }↵
|
| | | 33 | public Long getId() {↵
|
| | | 34 | return id
|