Project

General

Profile

1
package eu.dnetlib.functionality.modular.ui.dedup;
2

    
3
import java.util.Map;
4
import java.util.Set;
5

    
6
/**
7
 * SimilarityGroup models the user actions upon the commit.
8
 */
9
public class SimilarityGroup {
10

    
11
	/** The id. */
12
	private String id;
13

    
14
	/** The date. */
15
	private String date;
16

    
17
	/** The entity type. */
18
	private EntityType entityType;
19

    
20
	/** The action set. */
21
	private String actionSet;
22

    
23
	/** The group. */
24
	private Set<String> group;
25

    
26
	/** The root ids. */
27
	private Set<String> rootIds;
28

    
29
	/** The dissimilar. */
30
	private Map<String, Set<String>> dissimilar;
31

    
32
	/**
33
	 * Instantiates a new similarity group.
34
	 */
35
	public SimilarityGroup() {}
36

    
37
	/**
38
	 * Gets the id.
39
	 *
40
	 * @return the id
41
	 */
42
	public String getId() {
43
		return id;
44
	}
45

    
46
	/**
47
	 * Sets the id.
48
	 *
49
	 * @param id
50
	 *            the new id
51
	 */
52
	public void setId(final String id) {
53
		this.id = id;
54
	}
55

    
56
	/**
57
	 * Gets the date.
58
	 *
59
	 * @return the date
60
	 */
61
	public String getDate() {
62
		return date;
63
	}
64

    
65
	/**
66
	 * Sets the date.
67
	 *
68
	 * @param date
69
	 *            the new date
70
	 */
71
	public void setDate(final String date) {
72
		this.date = date;
73
	}
74

    
75
	/**
76
	 * Gets the group.
77
	 *
78
	 * @return the group
79
	 */
80
	public Set<String> getGroup() {
81
		return group;
82
	}
83

    
84
	/**
85
	 * Sets the group.
86
	 *
87
	 * @param group
88
	 *            the new group
89
	 */
90
	public void setGroup(final Set<String> group) {
91
		this.group = group;
92
	}
93

    
94
	/**
95
	 * Gets the entity type.
96
	 *
97
	 * @return the entity type
98
	 */
99
	public EntityType getEntityType() {
100
		return entityType;
101
	}
102

    
103
	/**
104
	 * Sets the entity type.
105
	 *
106
	 * @param entityType
107
	 *            the new entity type
108
	 */
109
	public void setEntityType(final EntityType entityType) {
110
		this.entityType = entityType;
111
	}
112

    
113
	/**
114
	 * Gets the root ids.
115
	 *
116
	 * @return the root ids
117
	 */
118
	public Set<String> getRootIds() {
119
		return rootIds;
120
	}
121

    
122
	/**
123
	 * Sets the root ids.
124
	 *
125
	 * @param rootIds
126
	 *            the new root ids
127
	 */
128
	public void setRootIds(final Set<String> rootIds) {
129
		this.rootIds = rootIds;
130
	}
131

    
132
	/**
133
	 * Gets the dissimilar.
134
	 *
135
	 * @return the dissimilar
136
	 */
137
	public Map<String, Set<String>> getDissimilar() {
138
		return dissimilar;
139
	}
140

    
141
	/**
142
	 * Sets the dissimilar.
143
	 *
144
	 * @param dissimilar
145
	 *            the dissimilar
146
	 */
147
	public void setDissimilar(final Map<String, Set<String>> dissimilar) {
148
		this.dissimilar = dissimilar;
149
	}
150

    
151
	/**
152
	 * Gets the action set.
153
	 *
154
	 * @return the action set
155
	 */
156
	public String getActionSet() {
157
		return actionSet;
158
	}
159

    
160
	/**
161
	 * Sets the action set.
162
	 *
163
	 * @param actionSet
164
	 *            the new action set
165
	 */
166
	public void setActionSet(final String actionSet) {
167
		this.actionSet = actionSet;
168
	}
169

    
170
}
(4-4/4)