com.gisgraphy.hibernate.criterion
Class ResultTransformerUtil<T>
java.lang.Object
com.gisgraphy.hibernate.criterion.ResultTransformerUtil<T>
public class ResultTransformerUtil<T>
- extends Object
The Class ResultTransformerUtil.
- Author:
- Abhishek Mirge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gisFeatureDistanceFactory
protected static GisFeatureDistanceFactory gisFeatureDistanceFactory
ResultTransformerUtil
public ResultTransformerUtil()
transformToGisFeatureDistance
public static List<com.gisgraphy.domain.valueobject.GisFeatureDistance> transformToGisFeatureDistance(String[] aliasList,
List<?> resultList,
Map<Long,List<String>> featureIdToZipCodesMap)
- Transform to bean. See bug
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2463
- Parameters:
aliasList
- the alias listresultList
- the result list
- Returns:
- the list of GisFeatureDistance
transformToStreetDistance
public static List<com.gisgraphy.domain.valueobject.StreetDistance> transformToStreetDistance(String[] aliasList,
List<?> resultList)
- Transform to bean. See bug
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2463
- Parameters:
aliasList
- the alias listresultList
- the result list
- Returns:
- the list of
StreetDistance
Copyright © 2012. All Rights Reserved.