geoportal-data-viewer-app/src/main/java/org/gcube/portlets/user/geoportaldataviewer/shared/gis/IndexLayer.java

59 lines
1.2 KiB
Java
Raw Normal View History

2022-09-12 18:29:00 +02:00
package org.gcube.portlets.user.geoportaldataviewer.shared.gis;
2022-09-19 18:19:50 +02:00
import org.gcube.portlets.user.geoportaldataviewer.shared.cl.document.materialization.GCubeSDILayerDV;
import com.fasterxml.jackson.annotation.JsonProperty;
2022-09-28 18:08:39 +02:00
import com.google.gwt.user.client.rpc.IsSerializable;
2022-09-19 18:19:50 +02:00
2022-09-28 18:08:39 +02:00
public class IndexLayer implements IsSerializable{
2022-09-12 18:29:00 +02:00
2022-09-19 18:19:50 +02:00
@JsonProperty(value = "_type")
private String type;
private GCubeSDILayerDV layer;
private String indexName;
private int records;
private String flag;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public GCubeSDILayerDV getLayer() {
return layer;
}
public void setLayer(GCubeSDILayerDV layer) {
this.layer = layer;
}
public String getIndexName() {
return indexName;
}
public void setIndexName(String indexName) {
this.indexName = indexName;
}
public int getRecords() {
return records;
}
public void setRecords(int records) {
this.records = records;
}
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
2022-10-18 12:30:28 +02:00
@Override
public String toString() {
return "IndexLayer [type=" + type + ", layer=" + layer + ", indexName=" + indexName + ", records=" + records
+ ", flag=" + flag + "]";
}
2022-09-19 18:19:50 +02:00
2022-09-12 18:29:00 +02:00
}