Project

General

Profile

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

    
3
import java.util.Objects;
4

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

    
10
	private String repositoryName;
11

    
12
	private String url;
13

    
14
	private String id;
15

    
16
	public Provenance() {
17
	}
18

    
19
	public String getRepositoryName() {
20
		return repositoryName;
21
	}
22

    
23
	public Provenance setRepositoryName(final String repositoryName) {
24
		this.repositoryName = repositoryName;
25
		return this;
26
	}
27

    
28
	public String getUrl() {
29
		return url;
30
	}
31

    
32
	public Provenance setUrl(final String url) {
33
		this.url = url;
34
		return this;
35
	}
36

    
37
	public String getId() {
38
		return id;
39
	}
40

    
41
	public Provenance setId(final String id) {
42
		this.id = id;
43
		return this;
44
	}
45

    
46
	@Override
47
	public int hashCode() {
48
		return Objects.hash(getRepositoryName(), getUrl(), getId());
49
	}
50
}
(6-6/7)