Project

General

Profile

1
package eu.dnetlib.data.broker.model.openaire;
2

    
3
import java.util.Objects;
4

    
5
/**
6
 * Created by claudio on 22/07/16.
7
 */
8
public class ExternalReference {
9

    
10
	private String url;
11

    
12
	private String sitename;
13

    
14
	private String type;
15

    
16
	private String refidentifier;
17

    
18
	public ExternalReference() {
19
	}
20

    
21
	public String getUrl() {
22
		return url;
23
	}
24

    
25
	public ExternalReference setUrl(final String url) {
26
		this.url = url;
27
		return this;
28
	}
29

    
30
	public String getSitename() {
31
		return sitename;
32
	}
33

    
34
	public ExternalReference setSitename(final String sitename) {
35
		this.sitename = sitename;
36
		return this;
37
	}
38

    
39
	public String getType() {
40
		return type;
41
	}
42

    
43
	public ExternalReference setType(final String type) {
44
		this.type = type;
45
		return this;
46
	}
47

    
48
	public String getRefidentifier() {
49
		return refidentifier;
50
	}
51

    
52
	public ExternalReference setRefidentifier(final String refidentifier) {
53
		this.refidentifier = refidentifier;
54
		return this;
55
	}
56

    
57
	@Override
58
	public int hashCode() {
59
		return Objects.hash(getUrl(), getSitename(), getType(), getRefidentifier());
60
	}
61
}
(1-1/7)