79 lines
1.7 KiB
Java
79 lines
1.7 KiB
Java
package org.gcube.application.geoportalcommon.shared.geoportal.materialization;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
|
|
import org.gcube.application.geoportalcommon.shared.geoportal.config.GeoportalConfigurationID;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
/**
|
|
* The Class GroupedCustomLayersDV.
|
|
*
|
|
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
|
|
*
|
|
* May 12, 2023
|
|
*/
|
|
public class GroupedCustomLayersDV implements Serializable, GeoportalConfigurationID {
|
|
|
|
private String name;
|
|
private String description;
|
|
|
|
@JsonProperty(value = "layers")
|
|
private List<CustomLayerDV> listCustomLayers;
|
|
|
|
@Override
|
|
public String getID() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void setID(String configID) {
|
|
// TODO Auto-generated method stub
|
|
|
|
}
|
|
|
|
public GroupedCustomLayersDV() {
|
|
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public List<CustomLayerDV> getListCustomLayers() {
|
|
return listCustomLayers;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public void setListCustomLayers(List<CustomLayerDV> listCustomLayers) {
|
|
this.listCustomLayers = listCustomLayers;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder builder = new StringBuilder();
|
|
builder.append("GroupedCustomLayersDV [name=");
|
|
builder.append(name);
|
|
builder.append(", description=");
|
|
builder.append(description);
|
|
builder.append(", listCustomLayers=");
|
|
builder.append(listCustomLayers);
|
|
builder.append("]");
|
|
return builder.toString();
|
|
}
|
|
|
|
}
|