com.gisgraphy.domain.valueobject
Class StreetSearchResultsDto
java.lang.Object
com.gisgraphy.domain.valueobject.StreetSearchResultsDto
public class StreetSearchResultsDto
- extends java.lang.Object
DTO (data transfer object) for a list of StreetDistance
The node
name is Constants.STREETSEARCHRESULTSDTO_JAXB_NAME
- Author:
- David Masclet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreetSearchResultsDto
public StreetSearchResultsDto(java.util.List<StreetDistance> result,
java.lang.Long QTime,
java.lang.String query)
- Parameters:
result
- The GisFeatureDistance
's CollectionQTime
- The execution timequery
- The search term
StreetSearchResultsDto
public StreetSearchResultsDto()
- Default Constructor
getResult
public java.util.List<StreetDistance> getResult()
- Returns:
- The list of
GisFeatureDistance
getNumFound
public int getNumFound()
- Returns:
- the numFound
getQTime
public java.lang.Long getQTime()
- Returns:
- the qTime (aka : the execution Time) in ms
getQuery
public java.lang.String getQuery()
- Returns:
- the name (prefix) of the street that has been searched
Copyright © 2010. All Rights Reserved.