Class CatalogQuery


public class CatalogQuery extends DiscoveryServiceQuery
This class implements a general query. It contains an attribute for each parameter that can be showed in the search form.
Author:
Jorge Piera Llodra (piera_jor@gva.es)
  • Constructor Details

    • CatalogQuery

      public CatalogQuery()
    • CatalogQuery

      public CatalogQuery(String title, String titleFilter, String abstract_, String themeKey, String topic, String scale, String provider, String dateFrom, String dateTo, Coordinates coordinates, String coordinatesFilter)
      Parameters:
      title -
      titleFilter -
      abstract_ -
      themeKey -
      topic -
      scale -
      provider -
      dateFrom -
      dateTo -
      coordinates -
      coordinatesFilter -
      translator -
  • Method Details

    • getOperator

      public String getOperator(String concordancia)
      Return logic operators
      Parameters:
      concordancia -
      titleKeys - E,A o Y --> Exact, All, anY
      Returns:
      String
    • getAbstract

      public String getAbstract()
      Returns:
      Returns the abstract_.
    • setAbstract

      public void setAbstract(String abstract_)
      Parameters:
      abstract_ - The abstract_ to set.
    • getCoordenates

      public Coordinates getCoordenates()
      Returns:
      Returns the coordinates.
    • setCoordenates

      public void setCoordenates(Coordinates coordenates)
      Parameters:
      coordenates - The coordinates to set.
    • getCoordenatesFilter

      public String getCoordenatesFilter()
      Returns:
      Returns the coordinatesFilter.
    • setCoordenatesFilter

      public void setCoordenatesFilter(String coordenatesFilter)
      Parameters:
      coordenatesFilter - The coordenatesFilter to set.
    • getDateFrom

      public String getDateFrom()
      Returns:
      Returns the dateFrom.
    • setDateFrom

      public void setDateFrom(String dateFrom)
      Parameters:
      dateFrom - The dateFrom to set.
    • getDateTo

      public String getDateTo()
      Returns:
      Returns the dateTo.
    • setDateTo

      public void setDateTo(String dateTo)
      Parameters:
      dateTo - The dateTo to set.
    • getProvider

      public String getProvider()
      Returns:
      Returns the provider.
    • setProvider

      public void setProvider(String provider)
      Parameters:
      provider - The provider to set.
    • getScale

      public String getScale()
      Returns:
      Returns the scale.
    • setScale

      public void setScale(String scale)
      Parameters:
      scale - The scale to set.
    • getThemeKey

      public String getThemeKey()
      Returns:
      Returns the themeKey.
    • setThemeKey

      public void setThemeKey(String themeKey)
      Parameters:
      themeKey - The themeKey to set.
    • getTitle

      public String getTitle()
      Returns:
      Returns the title.
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - The title to set.
    • getTitleFilter

      public String getTitleFilter()
      Returns:
      Returns the titleFilter.
    • setTitleFilter

      public void setTitleFilter(String titleFilter)
      Parameters:
      titleFilter - The titleFilter to set.
    • getTopic

      public String getTopic()
      Returns:
      Returns the topic.
    • setTopic

      public void setTopic(String topic)
      Parameters:
      topic - The topic to set.
    • isMinimized

      public boolean isMinimized()
      Returns:
      Returns the isMinimized.
    • setMinimized

      public void setMinimized(boolean isMinimized)
      Parameters:
      isMinimized - The isMinimized to set.
    • isCoordinatesClicked

      public boolean isCoordinatesClicked()
      Returns:
      Returns the isCoordinatesClicked.
    • setCoordinatesClicked

      public void setCoordinatesClicked(boolean isCoordinatesClicked)
      Parameters:
      isCoordinatesClicked - The isCoordinatesClicked to set.
    • getMinScale

      public String getMinScale()
      It returns the lower scale
      Returns:
      String or Null if ther is not a low value (0)
    • getMaxScale

      public String getMaxScale()
      It returns the upper scale
      Returns:
      String or Null if ther is not a value (infinity)
    • getService

      public Search getService()
      Returns:
      the service
    • setService

      public void setService(Search service)
      Parameters:
      service - the service to set