1 /* 2 * Copyright (C) 2023 B3Partners B.V. 3 * 4 * SPDX-License-Identifier: MIT 5 */ 6 package org.tailormap.api.geotools.wfs; 7 8 public class SimpleWFSLayerDescription { 9 private final String wfsUrl; 10 private final String[] typeNames; 11 12 public SimpleWFSLayerDescription(String wfsUrl, String[] typeNames) { 13 this.wfsUrl = wfsUrl; 14 this.typeNames = typeNames; 15 } 16 17 public String getWfsUrl() { 18 return wfsUrl; 19 } 20 21 public String[] getTypeNames() { 22 return typeNames; 23 } 24 25 public String getFirstTypeName() { 26 return typeNames[0]; 27 } 28 }