java.lang.Object
org.opengeospatial.cite.wmts10.ets.core.domain.LayerInfo

public class LayerInfo extends Object
Represents a named layer from a capabilities document.
Author:
Lyn Goltz
  • Constructor Details

    • LayerInfo

      public LayerInfo(String layerName, List<BoundingBox> bboxes, BoundingBox geographicBbox)
      Parameters:
      layerName - name of the layer (ows:Layer/ows:Name), never null or empty param isQueryable true if the layer is queryable (ows:Layer/@queryable=1), false if the layer is not queryable (ows:Layer/@queryable=1)
      bboxes - bounding boxes of the layer (ows:Layer/ows:ows:BoundingBox), never null
      geographicBbox - geographic bounding box of the layer, never null
      Throws:
      IllegalArgumentException - if layerName or bboxes is null
  • Method Details

    • getLayerName

      public String getLayerName()
      Returns:
      the name of the layer (ows:Layer/ows:Name), never null
    • getBboxes

      public List<BoundingBox> getBboxes()
      Returns:
      the bounding boxes of the layer (ows:Layer/ows:ows:BoundingBox), never null
    • getGeographicBbox

      public BoundingBox getGeographicBbox()
      Returns:
      the geographic bounding box of the layer, never null
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object