Project

General

Profile

1 35892 claudio.at
package eu.dnetlib.functionality.modular.ui.dedup;
2
3 35947 claudio.at
import java.util.Map;
4 35892 claudio.at
import java.util.Set;
5
6 39358 claudio.at
/**
7
 * SimilarityGroup models the user actions upon the commit.
8
 */
9 35892 claudio.at
public class SimilarityGroup {
10
11 39358 claudio.at
	/** The id. */
12 35892 claudio.at
	private String id;
13 39358 claudio.at
14
	/** The date. */
15 35892 claudio.at
	private String date;
16 39358 claudio.at
17
	/** The entity type. */
18 35892 claudio.at
	private EntityType entityType;
19
20 39358 claudio.at
	/** The action set. */
21 36623 claudio.at
	private String actionSet;
22
23 39358 claudio.at
	/** The group. */
24 35892 claudio.at
	private Set<String> group;
25
26 39358 claudio.at
	/** The root ids. */
27 35892 claudio.at
	private Set<String> rootIds;
28
29 39358 claudio.at
	/** The dissimilar. */
30 35947 claudio.at
	private Map<String, Set<String>> dissimilar;
31
32 39358 claudio.at
	/**
33
	 * Instantiates a new similarity group.
34
	 */
35 35892 claudio.at
	public SimilarityGroup() {}
36
37 39358 claudio.at
	/**
38
	 * Gets the id.
39
	 *
40
	 * @return the id
41
	 */
42 35892 claudio.at
	public String getId() {
43
		return id;
44
	}
45
46 39358 claudio.at
	/**
47
	 * Sets the id.
48
	 *
49
	 * @param id
50
	 *            the new id
51
	 */
52 35892 claudio.at
	public void setId(final String id) {
53
		this.id = id;
54
	}
55
56 39358 claudio.at
	/**
57
	 * Gets the date.
58
	 *
59
	 * @return the date
60
	 */
61 35892 claudio.at
	public String getDate() {
62
		return date;
63
	}
64
65 39358 claudio.at
	/**
66
	 * Sets the date.
67
	 *
68
	 * @param date
69
	 *            the new date
70
	 */
71 35892 claudio.at
	public void setDate(final String date) {
72
		this.date = date;
73
	}
74
75 39358 claudio.at
	/**
76
	 * Gets the group.
77
	 *
78
	 * @return the group
79
	 */
80 35892 claudio.at
	public Set<String> getGroup() {
81
		return group;
82
	}
83
84 39358 claudio.at
	/**
85
	 * Sets the group.
86
	 *
87
	 * @param group
88
	 *            the new group
89
	 */
90 35892 claudio.at
	public void setGroup(final Set<String> group) {
91
		this.group = group;
92
	}
93
94 39358 claudio.at
	/**
95
	 * Gets the entity type.
96
	 *
97
	 * @return the entity type
98
	 */
99 35892 claudio.at
	public EntityType getEntityType() {
100
		return entityType;
101
	}
102
103 39358 claudio.at
	/**
104
	 * Sets the entity type.
105
	 *
106
	 * @param entityType
107
	 *            the new entity type
108
	 */
109 35892 claudio.at
	public void setEntityType(final EntityType entityType) {
110
		this.entityType = entityType;
111
	}
112
113 39358 claudio.at
	/**
114
	 * Gets the root ids.
115
	 *
116
	 * @return the root ids
117
	 */
118 35892 claudio.at
	public Set<String> getRootIds() {
119
		return rootIds;
120
	}
121
122 39358 claudio.at
	/**
123
	 * Sets the root ids.
124
	 *
125
	 * @param rootIds
126
	 *            the new root ids
127
	 */
128 35892 claudio.at
	public void setRootIds(final Set<String> rootIds) {
129
		this.rootIds = rootIds;
130
	}
131
132 39358 claudio.at
	/**
133
	 * Gets the dissimilar.
134
	 *
135
	 * @return the dissimilar
136
	 */
137 35947 claudio.at
	public Map<String, Set<String>> getDissimilar() {
138
		return dissimilar;
139
	}
140
141 39358 claudio.at
	/**
142
	 * Sets the dissimilar.
143
	 *
144
	 * @param dissimilar
145
	 *            the dissimilar
146
	 */
147 35947 claudio.at
	public void setDissimilar(final Map<String, Set<String>> dissimilar) {
148
		this.dissimilar = dissimilar;
149
	}
150
151 39358 claudio.at
	/**
152
	 * Gets the action set.
153
	 *
154
	 * @return the action set
155
	 */
156 36623 claudio.at
	public String getActionSet() {
157
		return actionSet;
158
	}
159
160 39358 claudio.at
	/**
161
	 * Sets the action set.
162
	 *
163
	 * @param actionSet
164
	 *            the new action set
165
	 */
166 36623 claudio.at
	public void setActionSet(final String actionSet) {
167
		this.actionSet = actionSet;
168
	}
169
170 35892 claudio.at
}