Revision 48139
Added by Alessia Bardi almost 7 years ago
HostedByEntry.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.hostedby; |
2 | 2 |
|
3 | 3 |
public class HostedByEntry { |
4 |
|
|
4 | 5 |
private String id; |
5 | 6 |
private String name; |
6 |
|
|
7 |
|
|
7 | 8 |
public HostedByEntry(String id, String name) { |
8 | 9 |
this.id = id; |
9 | 10 |
this.name = name; |
10 | 11 |
} |
11 |
|
|
12 |
|
|
12 | 13 |
public String getId() { |
13 | 14 |
return id; |
14 | 15 |
} |
15 |
|
|
16 |
|
|
16 | 17 |
public void setId(String id) { |
17 | 18 |
this.id = id; |
18 | 19 |
} |
19 |
|
|
20 |
|
|
20 | 21 |
public String getName() { |
21 | 22 |
return name; |
22 | 23 |
} |
23 |
|
|
24 |
|
|
24 | 25 |
public void setName(String name) { |
25 | 26 |
this.name = name; |
26 | 27 |
} |
... | ... | |
29 | 30 |
public String toString() { |
30 | 31 |
return "[ id: " + id + ", name: " + name + " ]"; |
31 | 32 |
} |
32 |
|
|
33 |
|
|
33 | 34 |
} |
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40