| | |
| | | public class LayerDto { |
| | | private String version; |
| | | |
| | | private String name; //生成json的名字,默认位layer.json |
| | | |
| | | private DurationDto duration; |
| | | |
| | | private ExtensionDto extension; |
| | |
| | | private String flowUrl; |
| | | |
| | | public LayerDto() { |
| | | this.name = "layer.json"; |
| | | } |
| | | |
| | | public LayerDto(String ver, int epsg, List<Integer> sizes) { |
| | | this(); |
| | | this.version = ver; |
| | | this.waters = new WaterDto(); |
| | | this.duration = new DurationDto(); |
| | |
| | | this.version = version; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public DurationDto getDuration() { |
| | | return duration; |
| | | } |