Package de.latlon.ets.wms13.core.domain
Class LayerInfo
java.lang.Object
de.latlon.ets.wms13.core.domain.LayerInfo
Represents a named layer from a capabilities document.
- Author:
- Lyn Goltz
-
Constructor Summary
ConstructorsConstructorDescriptionLayerInfo(String layerName, boolean isQueryable, List<BoundingBox> bboxes, List<Dimension> dimensions, BoundingBox geographicBbox) -
Method Summary
-
Constructor Details
-
LayerInfo
public LayerInfo(String layerName, boolean isQueryable, List<BoundingBox> bboxes, List<Dimension> dimensions, BoundingBox geographicBbox) - Parameters:
layerName- name of the layer (wms:Layer/wms:Name), nevernullor emptyisQueryable-trueif the layer is queryable (wms:Layer/@queryable=1),falseif the layer is not queryable (wms:Layer/@queryable=1)bboxes- bounding boxes of the layer (wms:Layer/wms:wms:BoundingBox), nevernulldimensions- dimensions of the layer,nevernullgeographicBbox- geographic bounding box of the layer, nevernull- Throws:
IllegalArgumentException- if layerName or bboxes isnull
-
-
Method Details
-
getLayerName
- Returns:
- the name of the layer (wms:Layer/wms:Name), never
null
-
isQueryable
public boolean isQueryable()- Returns:
trueif the layer is queryable,falseotherwise
-
getBboxes
- Returns:
- the bounding boxes of the layer (wms:Layer/wms:wms:BoundingBox), never
null
-
getDimensions
- Returns:
- the dimensions of the layer (wms:Layer/wms:wms:Dimension), never
null
-
getGeographicBbox
- Returns:
- the geographic bounding box of the layer, never
null
-
hashCode
public int hashCode() -
equals
-
toString
-