78 lines
1.7 KiB
Java
78 lines
1.7 KiB
Java
|
package org.gcube.portlets.user.geoportaldataviewer.shared.cl.document.materialization;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
import java.util.HashMap;
|
||
|
import java.util.List;
|
||
|
|
||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||
|
|
||
|
public class GCubeSDILayerDV implements Serializable {
|
||
|
|
||
|
// TODO manage heterogeneus collection
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private static final long serialVersionUID = 5317964084778336268L;
|
||
|
@JsonProperty(value = "_type")
|
||
|
private String type;
|
||
|
@JsonProperty(value = "_platformInfo")
|
||
|
private List<GeoServerPlatformInfoDV> platformInfos;
|
||
|
@JsonProperty(value = "_bbox")
|
||
|
private BBOXDV bbox;
|
||
|
@JsonProperty(value = "_ogcLinks")
|
||
|
private HashMap<String, String> ogcLinks;
|
||
|
|
||
|
public GCubeSDILayerDV() {
|
||
|
|
||
|
}
|
||
|
|
||
|
public String getType() {
|
||
|
return type;
|
||
|
}
|
||
|
|
||
|
public List<GeoServerPlatformInfoDV> getPlatformInfos() {
|
||
|
return platformInfos;
|
||
|
}
|
||
|
|
||
|
public BBOXDV getBbox() {
|
||
|
return bbox;
|
||
|
}
|
||
|
|
||
|
public HashMap<String, String> getOgcLinks() {
|
||
|
return ogcLinks;
|
||
|
}
|
||
|
|
||
|
public void setType(String type) {
|
||
|
this.type = type;
|
||
|
}
|
||
|
|
||
|
public void setPlatformInfos(List<GeoServerPlatformInfoDV> platformInfos) {
|
||
|
this.platformInfos = platformInfos;
|
||
|
}
|
||
|
|
||
|
public void setBbox(BBOXDV bbox) {
|
||
|
this.bbox = bbox;
|
||
|
}
|
||
|
|
||
|
public void setOgcLinks(HashMap<String, String> ogcLinks) {
|
||
|
this.ogcLinks = ogcLinks;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
StringBuilder builder = new StringBuilder();
|
||
|
builder.append("GCubeSDILayerDV [type=");
|
||
|
builder.append(type);
|
||
|
builder.append(", platformInfos=");
|
||
|
builder.append(platformInfos);
|
||
|
builder.append(", bbox=");
|
||
|
builder.append(bbox);
|
||
|
builder.append(", ogcLinks=");
|
||
|
builder.append(ogcLinks);
|
||
|
builder.append("]");
|
||
|
return builder.toString();
|
||
|
}
|
||
|
|
||
|
}
|