Package com.luciad.wms.server.model
Class TLcdWMSServiceMetaData
java.lang.Object
com.luciad.wms.server.model.ALcdWMSServiceMetaData
com.luciad.wms.server.model.TLcdWMSServiceMetaData
Default implementation of
ALcdWMSServiceMetaData
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeyword
(String aKeyword) Returns anTLcdOWSServiceProvider
containing the contact information of the service ornull
if noTLcdOWSServiceProvider
was configured.getKeyword
(int aIndex) Returns the keyword at the given index.int
Returns the number of keywords.int
Returns the maximum number of layers that a client can request in a single request.int
Returns the maximum height value that a client is permitted to include in a single request.int
Returns the maximum width value that a client is permitted to include in a single request.Returns aTLcdWMSURL
representing the online resource.Returns an online resourceURL.Returns the abstract of the service.Returns the access constraint of the service.Returns the name of the service.Returns the title of the service.void
setContactInformation
(TLcdOWSServiceProvider aContactInformation) Sets theTLcdOWSServiceProvider
containing the contact information of the service.void
setLayerLimit
(int aLayerLimit) Sets the layer limit value.void
setMaxHeight
(int aMaxHeight) Sets the maximum allowed height.void
setMaxWidth
(int aMaxWidth) Sets the maximum allowed width.void
setOnlineResource
(TLcdWMSURL aOnlineResource) Sets the online resourceTLcdWMSURL
.void
setOnlineResourceURL
(URL aOnlineResourceURL) Deprecated.void
setServiceAbstract
(String aServiceAbstract) Sets the abstract of the service.void
setServiceAccessConstraint
(String aServiceAccessConstraint) Sets the access constraint of the service.void
setServiceName
(String aServiceName) Deprecated.This method has been kept for compatibility reasons with LuciadMap.void
setServiceTitle
(String aServiceTitle) Sets the title of this service.
-
Constructor Details
-
TLcdWMSServiceMetaData
public TLcdWMSServiceMetaData()Default constructor.
-
-
Method Details
-
getServiceName
Description copied from class:ALcdWMSServiceMetaData
Returns the name of the service.- Specified by:
getServiceName
in classALcdWMSServiceMetaData
- Returns:
- the name of the service.
-
setServiceName
Deprecated.This method has been kept for compatibility reasons with LuciadMap. The specification requires to always use the value OGC:WMS.Sets the name of the service.- Parameters:
aServiceName
- the name of the service.- See Also:
-
getServiceTitle
Description copied from class:ALcdWMSServiceMetaData
Returns the title of the service.- Specified by:
getServiceTitle
in classALcdWMSServiceMetaData
- Returns:
- a
String
with the service title.
-
getServiceAbstract
Description copied from class:ALcdWMSServiceMetaData
Returns the abstract of the service.- Specified by:
getServiceAbstract
in classALcdWMSServiceMetaData
- Returns:
- the abstract containing a narrative description of the service.
-
setServiceAbstract
Sets the abstract of the service.- Parameters:
aServiceAbstract
- a narrative description of the service.- See Also:
-
getServiceAccessConstraint
Description copied from class:ALcdWMSServiceMetaData
Returns the access constraint of the service. The default value is"none"
.- Overrides:
getServiceAccessConstraint
in classALcdWMSServiceMetaData
- Returns:
- the access constraint of the service.
-
setServiceAccessConstraint
Sets the access constraint of the service.- Parameters:
aServiceAccessConstraint
- the access constraint of the service.- Since:
- 2022.0
- See Also:
-
getOnlineResourceURL
Description copied from class:ALcdWMSServiceMetaData
Returns an online resourceURL.- Specified by:
getOnlineResourceURL
in classALcdWMSServiceMetaData
- Returns:
- a
URL
with the resourseURL.
-
getOnlineResource
Description copied from class:ALcdWMSServiceMetaData
Returns aTLcdWMSURL
representing the online resource.- Overrides:
getOnlineResource
in classALcdWMSServiceMetaData
- Returns:
- a
TLcdWMSURL
representing the online resource.
-
setOnlineResource
Sets the online resourceTLcdWMSURL
.- Parameters:
aOnlineResource
- The online resource.- See Also:
-
setServiceTitle
Sets the title of this service.- Parameters:
aServiceTitle
- the title of the service.- See Also:
-
setOnlineResourceURL
Deprecated.UsesetOnlineResource(TLcdWMSURL)
instead of this method.Sets the online resourceURL
.- Parameters:
aOnlineResourceURL
- the online url.- See Also:
-
getLayerLimit
public int getLayerLimit()Description copied from class:ALcdWMSServiceMetaData
Returns the maximum number of layers that a client can request in a single request. If no limit is imposed this method should return -1.- Specified by:
getLayerLimit
in classALcdWMSServiceMetaData
- Returns:
- the maximum number of layers that a client can request in a single request. If no limit is imposed this method should return -1.
-
setLayerLimit
public void setLayerLimit(int aLayerLimit) Sets the layer limit value.- Parameters:
aLayerLimit
- the new layerLimit value.- See Also:
-
getMaxWidth
public int getMaxWidth()Description copied from class:ALcdWMSServiceMetaData
Returns the maximum width value that a client is permitted to include in a single request. If no limit is imposed this method should return -1.- Specified by:
getMaxWidth
in classALcdWMSServiceMetaData
- Returns:
- the maximum width value that a client is permitted to include in a single request. If no limit is imposed this method should return -1.
-
setMaxWidth
public void setMaxWidth(int aMaxWidth) Sets the maximum allowed width.- Parameters:
aMaxWidth
- the new maximum allowed width value.- See Also:
-
getMaxHeight
public int getMaxHeight()Description copied from class:ALcdWMSServiceMetaData
Returns the maximum height value that a client is permitted to include in a single request. If no limit is imposed this method should return -1.- Specified by:
getMaxHeight
in classALcdWMSServiceMetaData
- Returns:
- the maximum height value that a client is permitted to include in a single request. If no limit is imposed this method should return -1.
-
setMaxHeight
public void setMaxHeight(int aMaxHeight) Sets the maximum allowed height.- Parameters:
aMaxHeight
- the new maximum allowed height value.- See Also:
-
getKeywordCount
public int getKeywordCount()Description copied from class:ALcdWMSServiceMetaData
Returns the number of keywords.- Specified by:
getKeywordCount
in classALcdWMSServiceMetaData
- Returns:
- the number of keywords.
-
getKeyword
Description copied from class:ALcdWMSServiceMetaData
Returns the keyword at the given index.- Specified by:
getKeyword
in classALcdWMSServiceMetaData
- Parameters:
aIndex
- the index of the keyword to return.- Returns:
- the keyword at the given index.
- Throws:
IndexOutOfBoundsException
- if invalid index.
-
addKeyword
-
getContactInformation
Description copied from class:ALcdWMSServiceMetaData
Returns anTLcdOWSServiceProvider
containing the contact information of the service ornull
if noTLcdOWSServiceProvider
was configured.- Overrides:
getContactInformation
in classALcdWMSServiceMetaData
- Returns:
- an
TLcdOWSServiceProvider
containing the contact information of the service ornull
if noTLcdOWSServiceProvider
was configured.
-
setContactInformation
Sets theTLcdOWSServiceProvider
containing the contact information of the service.- Parameters:
aContactInformation
- the new contact information- Since:
- 2022.0
-
setOnlineResource(TLcdWMSURL)
instead of this method.