Revision 62043
Added by Michele Artini about 2 years ago
modules/dnet-datasource-manager-common/branches/eosc_services/src/main/java/eu/dnetlib/enabling/datasources/common/Api.java | ||
---|---|---|
25 | 25 |
@Id |
26 | 26 |
protected String id = null; |
27 | 27 |
protected String protocol = null; |
28 |
|
|
29 |
@Column(name = "service") |
|
28 | 30 |
protected String datasource = null; |
31 |
|
|
29 | 32 |
protected String contentdescription = null; |
30 | 33 |
protected Boolean active = false; |
31 | 34 |
protected Boolean removable = true; |
... | ... | |
299 | 302 |
@Override |
300 | 303 |
public int compareTo(final Api<AP> a) { |
301 | 304 |
return ComparisonChain.start() |
302 |
.compare(getId(), a.getId())
|
|
303 |
.result();
|
|
305 |
.compare(getId(), a.getId()) |
|
306 |
.result(); |
|
304 | 307 |
} |
305 | 308 |
|
306 | 309 |
} |
Also available in: Unified diff
fixed jpa annotation