com.gisgraphy.domain.valueobject
Class GeolocResultsDto

java.lang.Object
  extended by com.gisgraphy.domain.valueobject.GeolocResultsDto

public class GeolocResultsDto
extends java.lang.Object

DTO (data transfer object) for a list of GisFeatureDistance The node name is Constants.GEOLOCRESULTSDTO_JAXB_NAME

Author:
David Masclet

Constructor Summary
GeolocResultsDto()
          Default Constructor
GeolocResultsDto(java.util.List<GisFeatureDistance> result, java.lang.Long QTime)
           
 
Method Summary
 int getNumFound()
           
 java.lang.Long getQTime()
           
 java.util.List<GisFeatureDistance> getResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeolocResultsDto

public GeolocResultsDto(java.util.List<GisFeatureDistance> result,
                        java.lang.Long QTime)
Parameters:
result - The GisFeatureDistance's Collection
QTime - The execution time

GeolocResultsDto

public GeolocResultsDto()
Default Constructor

Method Detail

getResult

public java.util.List<GisFeatureDistance> 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


Copyright © 2010. All Rights Reserved.