dnet45/modules/dnet-deduplication/tags/dnet-deduplication-1.5.5/src/main/java/eu/dnetlib/functionality/modular/ui/dedup/EntityType.java @ 62941
1 |
package eu.dnetlib.functionality.modular.ui.dedup; |
---|---|
2 |
|
3 |
/**
|
4 |
* Utility Class EntityType, helps the user interface to display the different entity types.
|
5 |
*/
|
6 |
public class EntityType { |
7 |
|
8 |
/** The id. */
|
9 |
private String id; |
10 |
|
11 |
/** The type. */
|
12 |
private String type; |
13 |
|
14 |
/** The label. */
|
15 |
private String label; |
16 |
|
17 |
/**
|
18 |
* Instantiates a new entity type.
|
19 |
*/
|
20 |
public EntityType() {}; |
21 |
|
22 |
/**
|
23 |
* Instantiates a new entity type.
|
24 |
*
|
25 |
* @param id
|
26 |
* the id
|
27 |
* @param type
|
28 |
* the type
|
29 |
* @param label
|
30 |
* the label
|
31 |
*/
|
32 |
public EntityType(final String id, final String type, final String label) { |
33 |
super(); |
34 |
setId(id); |
35 |
setType(type); |
36 |
setLabel(label); |
37 |
}
|
38 |
|
39 |
/**
|
40 |
* Gets the id.
|
41 |
*
|
42 |
* @return the id
|
43 |
*/
|
44 |
public String getId() { |
45 |
return id; |
46 |
}
|
47 |
|
48 |
/**
|
49 |
* Sets the id.
|
50 |
*
|
51 |
* @param id
|
52 |
* the new id
|
53 |
*/
|
54 |
public void setId(final String id) { |
55 |
this.id = id; |
56 |
}
|
57 |
|
58 |
/**
|
59 |
* Gets the type.
|
60 |
*
|
61 |
* @return the type
|
62 |
*/
|
63 |
public String getType() { |
64 |
return type; |
65 |
}
|
66 |
|
67 |
/**
|
68 |
* Sets the type.
|
69 |
*
|
70 |
* @param type
|
71 |
* the new type
|
72 |
*/
|
73 |
public void setType(final String type) { |
74 |
this.type = type; |
75 |
}
|
76 |
|
77 |
/**
|
78 |
* Gets the label.
|
79 |
*
|
80 |
* @return the label
|
81 |
*/
|
82 |
public String getLabel() { |
83 |
return label; |
84 |
}
|
85 |
|
86 |
/**
|
87 |
* Sets the label.
|
88 |
*
|
89 |
* @param label
|
90 |
* the new label
|
91 |
*/
|
92 |
public void setLabel(final String label) { |
93 |
this.label = label; |
94 |
}
|
95 |
|
96 |
}
|