Project

General

Profile

1
package eu.dnetlib.data.mapreduce.hbase.openorgs;
2

    
3
public class Similarity {
4

    
5
	private String openOrgID;
6

    
7
	private String openaireOriginalId;
8

    
9
	private String name;
10

    
11
	private String acronym;
12

    
13
	private String country;
14

    
15
	private String url;
16

    
17
	private String collectedFrom;
18

    
19
	public String getOpenOrgID() {
20
		return openOrgID;
21
	}
22

    
23
	public void setOpenOrgID(final String openOrgID) {
24
		this.openOrgID = openOrgID;
25
	}
26

    
27
	public String getOpenaireOriginalId() {
28
		return openaireOriginalId;
29
	}
30

    
31
	public void setOpenaireOriginalId(final String openaireOriginalId) {
32
		this.openaireOriginalId = openaireOriginalId;
33
	}
34

    
35
	public String getName() {
36
		return name;
37
	}
38

    
39
	public void setName(final String name) {
40
		this.name = name;
41
	}
42

    
43
	public String getAcronym() {
44
		return acronym;
45
	}
46

    
47
	public void setAcronym(final String acronym) {
48
		this.acronym = acronym;
49
	}
50

    
51
	public String getCountry() {
52
		return country;
53
	}
54

    
55
	public void setCountry(final String country) {
56
		this.country = country;
57
	}
58

    
59
	public String getUrl() {
60
		return url;
61
	}
62

    
63
	public void setUrl(final String url) {
64
		this.url = url;
65
	}
66

    
67
	public String getCollectedFrom() {
68
		return collectedFrom;
69
	}
70

    
71
	public void setCollectedFrom(final String collectedFrom) {
72
		this.collectedFrom = collectedFrom;
73
	}
74

    
75
	public String toTsv() {
76
		return String.format("%s\t%s\t%s\t%s\t%s\t%s\t%s", openOrgID, openaireOriginalId, name, acronym, country, url, collectedFrom);
77
	}
78
}
(7-7/7)