public class Layer extends Object implements XMLElement, Comparable
| Constructor and Description |
|---|
Layer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDimension(Dimensions dimension) |
void |
addDomainResource(LayerDomainResource dr) |
void |
addIdentifier(Identifier identifier) |
void |
addKeyword(String keyword) |
void |
addLayer(Layer layer) |
void |
addSrsbb(SrsBoundingBox s) |
void |
addStyle(Style style) |
Set |
buildLayerSet(Set layerset,
ServiceProvider serviceProvider) |
Layer |
buildLayerTree(Set layerset) |
Object |
clone()
Method that will create a deep copy of this object.
|
int |
compareTo(Object o) |
protected void |
convertValues2KB(HashMap conversionValues)
Method that will overwrite the URL's stored in the database with the URL specified for Kaartenbalie.
|
boolean |
equals(Layer layer)
Public method to check wether the given layer as parameter equals this layer.
|
boolean |
equals(Object o) |
String |
getAbstracts() |
Attribution |
getAttribution() |
Set |
getAuthSubLayersClone(Set authLayerIds) |
String |
getCascaded() |
String |
getCompleteTitle() |
Set |
getDimensions() |
Set |
getDomainResource() |
String |
getFixedHeight() |
String |
getFixedWidth() |
Integer |
getId() |
Set |
getIdentifiers() |
Map |
getIdentityMap(boolean includeServiceProviderAbbr)
Get a map of tuples containing the identity of this layer, for purposes
of comparing the identity maps of different layers.
|
Set |
getKeywordList() |
Set |
getLayerMetadata() |
Set |
getLayers() |
String |
getMetadata() |
String |
getName() |
String |
getNosubsets() |
String |
getOpaque() |
Set |
getOrganizationLayers() |
Layer |
getParent() |
String |
getQueryable() |
String |
getScaleHintMax() |
String |
getScaleHintMin() |
ServiceProvider |
getServiceProvider() |
String |
getSpAbbr() |
Set |
getSrsbb() |
Set<Style> |
getStyles() |
String |
getTitle() |
Layer |
getTopLayer() |
String |
getUniqueName() |
int |
hashCode() |
boolean |
inList(Set layers)
Public method which checks if this layer is in a list with layers given as a parameter.
|
void |
setAbstracts(String abstracts) |
void |
setAttribution(Attribution attribution) |
void |
setCascaded(String cascaded) |
void |
setDimensions(Set dimensions) |
void |
setDomainResource(Set domainResource) |
void |
setFixedHeight(String fixedHeight) |
void |
setFixedWidth(String fixedWidth) |
protected void |
setId(Integer id) |
void |
setIdentifiers(Set identifiers) |
void |
setKeywordList(Set keywordList) |
void |
setLayerMetadata(Set layerMetadata) |
void |
setLayers(Set layers) |
void |
setMetadata(String metaData) |
void |
setName(String name) |
void |
setNosubsets(String nosubsets) |
void |
setOpaque(String opaque) |
void |
setOrganizationLayers(Set organizationLayers) |
void |
setParent(Layer parent) |
void |
setQueryable(String queryable) |
void |
setScaleHintMax(String scaleHintMax) |
void |
setScaleHintMin(String scaleHintMin) |
void |
setServiceProvider(ServiceProvider serviceProvider) |
void |
setSrsbb(Set srsbb) |
void |
setStyles(Set<Style> styles) |
void |
setTitle(String title) |
Element |
toElement(Document doc,
Element rootElement)
Method that will create piece of the XML tree to create a proper XML docuement.
|
String |
toString() |
public Integer getId()
protected void setId(Integer id)
public String getName()
public void setName(String name)
public String getTitle()
public void setTitle(String title)
public String getAbstracts()
public void setAbstracts(String abstracts)
public String getQueryable()
public void setQueryable(String queryable)
public String getCascaded()
public void setCascaded(String cascaded)
public String getOpaque()
public void setOpaque(String opaque)
public String getNosubsets()
public void setNosubsets(String nosubsets)
public String getFixedWidth()
public void setFixedWidth(String fixedWidth)
public String getFixedHeight()
public void setFixedHeight(String fixedHeight)
public String getScaleHintMin()
public void setScaleHintMin(String scaleHintMin)
public String getScaleHintMax()
public void setScaleHintMax(String scaleHintMax)
public Layer getParent()
public void setParent(Layer parent)
public ServiceProvider getServiceProvider()
public void setServiceProvider(ServiceProvider serviceProvider)
public Set buildLayerSet(Set layerset, ServiceProvider serviceProvider) throws Exception
Exceptionpublic Set getDimensions()
public void setDimensions(Set dimensions)
public void addDimension(Dimensions dimension)
public Set getKeywordList()
public void setKeywordList(Set keywordList)
public void addKeyword(String keyword)
public void addStyle(Style style)
public Set getDomainResource()
public void setDomainResource(Set domainResource)
public void addDomainResource(LayerDomainResource dr)
public Set getIdentifiers()
public void setIdentifiers(Set identifiers)
public void addIdentifier(Identifier identifier)
public Set getOrganizationLayers()
public void setOrganizationLayers(Set organizationLayers)
public Set getSrsbb()
public void setSrsbb(Set srsbb)
public void addSrsbb(SrsBoundingBox s)
public Set getLayers()
public void setLayers(Set layers)
public Attribution getAttribution()
public void setAttribution(Attribution attribution)
public String getSpAbbr()
public String getUniqueName()
public String getCompleteTitle()
public String getMetadata()
public void setMetadata(String metaData)
public Set getLayerMetadata()
public void setLayerMetadata(Set layerMetadata)
protected void convertValues2KB(HashMap conversionValues)
newUrl - String representing the URL the old URL has to be replaced with.public Object clone()
public Element toElement(Document doc, Element rootElement)
toElement in interface XMLElementdoc - Document object which is being used to create new ElementsrootElement - The element where this object belongs to.public Layer getTopLayer()
public Map getIdentityMap(boolean includeServiceProviderAbbr)
includeServiceProviderAbbr - if getServiceProvider().getAbbr() should be included in the map.public boolean equals(Layer layer)
public boolean inList(Set layers)
public int compareTo(Object o)
compareTo in interface ComparableCopyright © 2021 B3Partners B.V.. All rights reserved.