Package org.gvsig.catalog.querys
Class CatalogQuery
java.lang.Object
org.gvsig.catalog.querys.DiscoveryServiceQuery
org.gvsig.catalog.querys.CatalogQuery
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIt returns the upper scaleIt returns the lower scalegetOperator(String concordancia) Return logic operatorsgetScale()getTitle()getTopic()booleanbooleanvoidsetAbstract(String abstract_) voidsetCoordenates(Coordinates coordenates) voidsetCoordenatesFilter(String coordenatesFilter) voidsetCoordinatesClicked(boolean isCoordinatesClicked) voidsetDateFrom(String dateFrom) voidvoidsetMinimized(boolean isMinimized) voidsetProvider(String provider) voidvoidsetService(Search service) voidsetThemeKey(String themeKey) voidvoidsetTitleFilter(String titleFilter) voidMethods inherited from class org.gvsig.catalog.querys.DiscoveryServiceQuery
getProperty, setProperties
-
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
Return logic operators- Parameters:
concordancia-titleKeys- E,A o Y --> Exact, All, anY- Returns:
- String
-
getAbstract
- Returns:
- Returns the abstract_.
-
setAbstract
- Parameters:
abstract_- The abstract_ to set.
-
getCoordenates
- Returns:
- Returns the coordinates.
-
setCoordenates
- Parameters:
coordenates- The coordinates to set.
-
getCoordenatesFilter
- Returns:
- Returns the coordinatesFilter.
-
setCoordenatesFilter
- Parameters:
coordenatesFilter- The coordenatesFilter to set.
-
getDateFrom
- Returns:
- Returns the dateFrom.
-
setDateFrom
- Parameters:
dateFrom- The dateFrom to set.
-
getDateTo
- Returns:
- Returns the dateTo.
-
setDateTo
- Parameters:
dateTo- The dateTo to set.
-
getProvider
- Returns:
- Returns the provider.
-
setProvider
- Parameters:
provider- The provider to set.
-
getScale
- Returns:
- Returns the scale.
-
setScale
- Parameters:
scale- The scale to set.
-
getThemeKey
- Returns:
- Returns the themeKey.
-
setThemeKey
- Parameters:
themeKey- The themeKey to set.
-
getTitle
- Returns:
- Returns the title.
-
setTitle
- Parameters:
title- The title to set.
-
getTitleFilter
- Returns:
- Returns the titleFilter.
-
setTitleFilter
- Parameters:
titleFilter- The titleFilter to set.
-
getTopic
- Returns:
- Returns the topic.
-
setTopic
- 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
It returns the lower scale- Returns:
- String or Null if ther is not a low value (0)
-
getMaxScale
It returns the upper scale- Returns:
- String or Null if ther is not a value (infinity)
-
getService
- Returns:
- the service
-
setService
- Parameters:
service- the service to set
-