Class Suggestion
- java.lang.Object
-
- global.maplink.geocode.schema.suggestions.Suggestion
-
- All Implemented Interfaces:
Comparable<Suggestion>
public class Suggestion extends Object implements Comparable<Suggestion>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSuggestion.SuggestionBuilder
-
Constructor Summary
Constructors Constructor Description Suggestion()Suggestion(String id, PointOfInterest poi, Address address, Type type, Float score, Double distance, String polygonWKT, String label)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Suggestion.SuggestionBuilderbuilder()protected booleancanEqual(Object other)intcompareTo(Suggestion o)booleanequals(Object o)AddressgetAddress()DoublegetDistance()StringgetId()StringgetLabel()PointOfInterestgetPoi()StringgetPolygonWKT()FloatgetScore()TypegetType()inthashCode()StringtoString()
-
-
-
Method Detail
-
compareTo
public int compareTo(Suggestion o)
- Specified by:
compareToin interfaceComparable<Suggestion>
-
builder
public static Suggestion.SuggestionBuilder builder()
-
getId
public String getId()
-
getPoi
public PointOfInterest getPoi()
-
getAddress
public Address getAddress()
-
getType
public Type getType()
-
getScore
public Float getScore()
-
getDistance
public Double getDistance()
-
getPolygonWKT
public String getPolygonWKT()
-
getLabel
public String getLabel()
-
canEqual
protected boolean canEqual(Object other)
-
-