X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2Fsearch%2FSearchResult.java;fp=tim%2Fprune%2Ffunction%2Fsearch%2FSearchResult.java;h=d757b017a2d6456e9e43475418116c84e6144ec3;hp=562f5a474f821f3efa3adfe41f0289a18786b839;hb=92dad5df664287acb51728e9ea599f150765d34a;hpb=81843c3d8d0771bf00d0f26034a13aa515465c78 diff --git a/tim/prune/function/search/SearchResult.java b/tim/prune/function/search/SearchResult.java index 562f5a4..d757b01 100644 --- a/tim/prune/function/search/SearchResult.java +++ b/tim/prune/function/search/SearchResult.java @@ -1,12 +1,14 @@ package tim.prune.function.search; /** - * Class to hold a search result from wikipedia / gpsies / panoramio etc + * Class to hold a search result from wikipedia / gpsies etc */ public class SearchResult implements Comparable { /** Track name or title */ private String _trackName = null; + /** Point type (for POIs) */ + private String _pointType = null; /** Description */ private String _description = null; /** Web page for more details */ @@ -35,6 +37,22 @@ public class SearchResult implements Comparable return _trackName; } + /** + * @param inType type of point (for POIs) + */ + public void setPointType(String inType) + { + _pointType = inType; + } + + /** + * @return type of point (for POIs) + */ + public String getPointType() + { + return _pointType; + } + /** * @param inDesc description */