55 lines
897 B
Java
55 lines
897 B
Java
|
package org.gcube.data_catalogue.grsf_publish_ws.json.input;
|
||
|
|
||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* RefersToBean are used into aggregated records but not into the sources.
|
||
|
* To check if a product is a source or
|
||
|
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
||
|
*/
|
||
|
public class RefersToBean {
|
||
|
|
||
|
@JsonProperty("url")
|
||
|
String url;
|
||
|
|
||
|
@JsonProperty("id")
|
||
|
String id;
|
||
|
|
||
|
public RefersToBean() {
|
||
|
super();
|
||
|
}
|
||
|
|
||
|
/** Create a refers to bean
|
||
|
* @param url
|
||
|
* @param id
|
||
|
*/
|
||
|
public RefersToBean(String url, String id) {
|
||
|
super();
|
||
|
this.url = url;
|
||
|
this.id = id;
|
||
|
}
|
||
|
|
||
|
public String getUrl() {
|
||
|
return url;
|
||
|
}
|
||
|
|
||
|
public void setUrl(String url) {
|
||
|
this.url = url;
|
||
|
}
|
||
|
|
||
|
public String getId() {
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
public void setId(String id) {
|
||
|
this.id = id;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return "url=" + url + ", id=" + id;
|
||
|
}
|
||
|
|
||
|
}
|