Refs #11811: Add citation Field
Task-Url: https://support.d4science.org/issues/11811 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@167647 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ee742d5339
commit
3e953778d7
|
@ -128,6 +128,11 @@ public abstract class Common extends Base{
|
|||
@Tag
|
||||
private String connectionsIndicator;
|
||||
|
||||
@JsonProperty(Constants.CITATION_JSON_KEY)
|
||||
@CustomField(key=Constants.CITATION_CUSTOM_KEY)
|
||||
private String citation;
|
||||
|
||||
|
||||
public Common() {
|
||||
super();
|
||||
}
|
||||
|
@ -359,6 +364,14 @@ public abstract class Common extends Base{
|
|||
this.similaritiesIndicator = similaritiesIndicator;
|
||||
}
|
||||
|
||||
public String getCitation() {
|
||||
return citation;
|
||||
}
|
||||
|
||||
public void setCitation(String citation) {
|
||||
this.citation = citation;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Common [dataOwner=" + dataOwner + ", databaseSources="
|
||||
|
|
Loading…
Reference in New Issue