Layer implements Comparable<Layer> { public Layer() { this(null); } Layer();  Layer(String title); void clearCache(); List<CRSEnvelope> getLayerBoundingBoxes(); synchronized Map<String, CRSEnvelope> getBoundingBoxes(); void setBoundingBoxes(CRSEnvelope boundingBox); void setBoundingBoxes(Map<String, CRSEnvelope> boundingBoxes); List<Dimension> getLayerDimensions(); synchronized Map<String, Dimension> getDimensions(); void setDimensions(Map<String, Dimension> dimensionMap); void setDimensions(Collection<Dimension> dimensionList); void setDimensions( Dimension dimension); Dimension getDimension(String name); List<Extent> getLayerExtents(); synchronized Map<String, Extent> getExtents(); Extent getExtent(String name); void setExtents(Map<String, Extent> extentMap); void setExtents(Collection<Extent> extentList); void setExtents(Extent extent); String getName(); void setName(String name); Set<String> getSrs(); void setSrs(Set<String> srs); List<StyleImpl> getStyles(); void setStyles(List<StyleImpl> styles); String getTitle(); void setTitle(String title); boolean isQueryable(); void setQueryable(boolean queryable); int compareTo(Layer layer); Layer getParent(); void setParent(Layer parentLayer); CRSEnvelope getLatLonBoundingBox(); void setLatLonBoundingBox(CRSEnvelope latLonBoundingBox); List<Layer> getLayerChildren(); Layer[] getChildren(); void setChildren(Layer[] childrenArray); void addChildren( Layer child ); String get_abstract(); void set_abstract(String _abstract); String[] getKeywords(); void setKeywords(String[] keywords); void setScaleDenominatorMax(double scaleDenominatorMax); double getScaleDenominatorMax(); void setScaleDenominatorMin(double scaleDenominatorMin); double getScaleDenominatorMin(); double getScaleHintMax(); void setScaleHintMax(double scaleHintMax); double getScaleHintMin(); void setScaleHintMin(double scaleHintMin); GeneralEnvelope getEnvelope(CoordinateReferenceSystem crs); int getCascaded(); void setCascaded(int cascadedValue); List<MetadataURL> getMetadataURL(); void setMetadataURL(List<MetadataURL> metadataURL); Attribution getAttribution(); void setAttribution(Attribution attribution); @Override String toString();  }
@Test public void testLayer(){ Layer world = new Layer("world"); world.setBoundingBoxes(BBOXES); world.setSrs(BBOXES.keySet()); }