dnet45/modules/dnet-datasource-manager-common/trunk/src/main/java/eu/dnetlib/enabling/datasources/common/Identity.java @ 49905
1 |
package eu.dnetlib.enabling.datasources.common; |
---|---|
2 |
|
3 |
import javax.persistence.Id; |
4 |
import javax.persistence.MappedSuperclass; |
5 |
|
6 |
/**
|
7 |
* Created by claudio on 13/04/2017.
|
8 |
*/
|
9 |
@MappedSuperclass
|
10 |
public class Identity { |
11 |
|
12 |
@Id
|
13 |
protected String pid; |
14 |
|
15 |
protected String issuertype; |
16 |
|
17 |
public Identity() {} |
18 |
|
19 |
public String getPid() { |
20 |
return this.pid; |
21 |
}
|
22 |
|
23 |
public String getIssuertype() { |
24 |
return this.issuertype; |
25 |
}
|
26 |
|
27 |
public Identity setPid(final String pid) { |
28 |
this.pid = pid; |
29 |
return this; |
30 |
}
|
31 |
|
32 |
public Identity setIssuertype(final String issuertype) { |
33 |
this.issuertype = issuertype; |
34 |
return this; |
35 |
}
|
36 |
|
37 |
}
|