@Entity public class Layer extends Object implements Cloneable, Serializable
| Modifier and Type | Class and Description |
|---|---|
static interface |
Layer.Visitor |
| Modifier and Type | Field and Description |
|---|---|
static String |
DETAIL_ALL_CHILDREN
Layer.details map key for comma separated list of layer names of children
of this layer.
|
static String |
DETAIL_ALTERNATE_LEGEND_IMAGE_URL |
static String |
DETAIL_WMS_STYLES
JSON representation of wms:Style elements from capabilities for this layer
|
static String |
EXTRA_IMAGE_EXTENSION |
static String |
EXTRA_KEY_ATTRIBUTION |
static String |
EXTRA_KEY_DOWNLOAD_URL |
static String |
EXTRA_KEY_FILTERABLE |
static String |
EXTRA_KEY_METADATA_STYLESHEET_URL |
static String |
EXTRA_KEY_METADATA_URL |
Set<String> |
preventGeomEditors |
Set<String> |
writers |
| Constructor and Description |
|---|
Layer() |
Layer(org.geotools.data.ows.Layer l,
GeoService service) |
public static final String EXTRA_KEY_METADATA_URL
public static final String EXTRA_KEY_METADATA_STYLESHEET_URL
public static final String EXTRA_KEY_DOWNLOAD_URL
public static final String EXTRA_KEY_FILTERABLE
public static final String EXTRA_IMAGE_EXTENSION
public static final String EXTRA_KEY_ATTRIBUTION
public static final String DETAIL_WMS_STYLES
public static final String DETAIL_ALL_CHILDREN
public static final String DETAIL_ALTERNATE_LEGEND_IMAGE_URL
public Layer()
public Layer(org.geotools.data.ows.Layer l,
GeoService service)
protected void update(Layer update)
protected void copyUserModifiedProperties(Layer other)
other - the source of properties to copypublic Layer pluckCopy()
public boolean isBufferable()
true if service type of this layer is ArcIms or ArcGis or
if the layer has a featuretype, false otherwisepublic boolean accept(Layer.Visitor visitor, javax.persistence.EntityManager em)
visitor - the Layer.Visitorem - the entity manager to usetrue if visitor accepted all layerspublic String getDisplayName()
public org.json.JSONObject toJSONObject()
throws org.json.JSONException
org.json.JSONExceptionpublic List<ApplicationLayer> getApplicationLayers(javax.persistence.EntityManager em)
public Layer getParent()
public void setParent(Layer parent)
public boolean isVirtual()
public void setVirtual(boolean virtual)
public String getTitle()
public void setTitle(String title)
public String getTitleAlias()
public void setTitleAlias(String titleAlias)
public GeoService getService()
public void setService(GeoService service)
public Set<CoordinateReferenceSystem> getCrsList()
public void setCrsList(Set<CoordinateReferenceSystem> crsList)
public SimpleFeatureType getFeatureType()
public void setFeatureType(SimpleFeatureType featureType)
public boolean isFilterable()
public void setFilterable(boolean filterable)
public Long getId()
public void setId(Long id)
public String getName()
public void setName(String name)
public boolean isQueryable()
public void setQueryable(boolean queryable)
public Map<String,ClobElement> getDetails()
public void setDetails(Map<String,ClobElement> details)
public Double getMaxScale()
public void setMaxScale(Double maxScale)
public Double getMinScale()
public void setMinScale(Double minScale)
public TileSet getTileset()
public void setTileset(TileSet tileset)
public String getLegendImageUrl()
public void setLegendImageUrl(String legendImageUrl)
public Map<CoordinateReferenceSystem,BoundingBox> getBoundingBoxes()
public void setBoundingBoxes(Map<CoordinateReferenceSystem,BoundingBox> boundingBoxes)
public List<TileMatrixSet> getMatrixSets()
public void setMatrixSets(List<TileMatrixSet> matrixSets)
Copyright © 2017. All rights reserved.