Class TLcdWMSServiceMetaData

java.lang.Object
com.luciad.wms.server.model.ALcdWMSServiceMetaData
com.luciad.wms.server.model.TLcdWMSServiceMetaData

public class TLcdWMSServiceMetaData extends ALcdWMSServiceMetaData
Default implementation of ALcdWMSServiceMetaData.
  • Constructor Details

    • TLcdWMSServiceMetaData

      public TLcdWMSServiceMetaData()
      Default constructor.
  • Method Details

    • getServiceName

      public String getServiceName()
      Description copied from class: ALcdWMSServiceMetaData
      Returns the name of the service.
      Specified by:
      getServiceName in class ALcdWMSServiceMetaData
      Returns:
      the name of the service.
    • setServiceName

      public void setServiceName(String aServiceName)
      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

      public String getServiceTitle()
      Description copied from class: ALcdWMSServiceMetaData
      Returns the title of the service.
      Specified by:
      getServiceTitle in class ALcdWMSServiceMetaData
      Returns:
      a String with the service title.
    • getServiceAbstract

      public String getServiceAbstract()
      Description copied from class: ALcdWMSServiceMetaData
      Returns the abstract of the service.
      Specified by:
      getServiceAbstract in class ALcdWMSServiceMetaData
      Returns:
      the abstract containing a narrative description of the service.
    • setServiceAbstract

      public void setServiceAbstract(String aServiceAbstract)
      Sets the abstract of the service.
      Parameters:
      aServiceAbstract - a narrative description of the service.
      See Also:
    • getServiceAccessConstraint

      public String getServiceAccessConstraint()
      Description copied from class: ALcdWMSServiceMetaData
      Returns the access constraint of the service. The default value is "none".
      Overrides:
      getServiceAccessConstraint in class ALcdWMSServiceMetaData
      Returns:
      the access constraint of the service.
    • setServiceAccessConstraint

      public void setServiceAccessConstraint(String aServiceAccessConstraint)
      Sets the access constraint of the service.
      Parameters:
      aServiceAccessConstraint - the access constraint of the service.
      Since:
      2022.0
      See Also:
    • getOnlineResourceURL

      public URL getOnlineResourceURL()
      Description copied from class: ALcdWMSServiceMetaData
      Returns an online resourceURL.
      Specified by:
      getOnlineResourceURL in class ALcdWMSServiceMetaData
      Returns:
      a URL with the resourseURL.
    • getOnlineResource

      public TLcdWMSURL getOnlineResource()
      Description copied from class: ALcdWMSServiceMetaData
      Returns a TLcdWMSURL representing the online resource.
      Overrides:
      getOnlineResource in class ALcdWMSServiceMetaData
      Returns:
      a TLcdWMSURL representing the online resource.
    • setOnlineResource

      public void setOnlineResource(TLcdWMSURL aOnlineResource)
      Sets the online resource TLcdWMSURL.
      Parameters:
      aOnlineResource - The online resource.
      See Also:
    • setServiceTitle

      public void setServiceTitle(String aServiceTitle)
      Sets the title of this service.
      Parameters:
      aServiceTitle - the title of the service.
      See Also:
    • setOnlineResourceURL

      public void setOnlineResourceURL(URL aOnlineResourceURL)
      Deprecated.
      Use setOnlineResource(TLcdWMSURL) instead of this method.
      Sets the online resource URL.
      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 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.
    • 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 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.
    • 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 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.
    • 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 class ALcdWMSServiceMetaData
      Returns:
      the number of keywords.
    • getKeyword

      public String getKeyword(int aIndex) throws IndexOutOfBoundsException
      Description copied from class: ALcdWMSServiceMetaData
      Returns the keyword at the given index.
      Specified by:
      getKeyword in class ALcdWMSServiceMetaData
      Parameters:
      aIndex - the index of the keyword to return.
      Returns:
      the keyword at the given index.
      Throws:
      IndexOutOfBoundsException - if invalid index.
    • addKeyword

      public void addKeyword(String aKeyword)
    • getContactInformation

      public TLcdOWSServiceProvider getContactInformation()
      Description copied from class: ALcdWMSServiceMetaData
      Returns an TLcdOWSServiceProvider containing the contact information of the service or null if no TLcdOWSServiceProvider was configured.
      Overrides:
      getContactInformation in class ALcdWMSServiceMetaData
      Returns:
      an TLcdOWSServiceProvider containing the contact information of the service or null if no TLcdOWSServiceProvider was configured.
    • setContactInformation

      public void setContactInformation(TLcdOWSServiceProvider aContactInformation)
      Sets the TLcdOWSServiceProvider containing the contact information of the service.
      Parameters:
      aContactInformation - the new contact information
      Since:
      2022.0