Class ProximityItem

java.lang.Object
com.cercalia.sdk.model.proximity.ProximityItem

public final class ProximityItem extends Object
Represents a single item in proximity search results.
  • Method Details

    • getId

      @NotNull public @NotNull String getId()
      Returns:
      Unique identifier for the item.
    • getName

      @NotNull public @NotNull String getName()
      Returns:
      Name of the item.
    • getCoord

      @NotNull public @NotNull Coordinate getCoord()
      Returns:
      Geographic coordinates of the item.
    • getDistance

      public int getDistance()
      Returns:
      Euclidean distance from the search center in meters.
    • getPosition

      @Nullable public @Nullable Integer getPosition()
      Returns:
      Position of the item in the result list.
    • getCategoryCode

      @Nullable public @Nullable String getCategoryCode()
      Returns:
      Primary category code for the item.
    • getSubcategoryCode

      @Nullable public @Nullable String getSubcategoryCode()
      Returns:
      Subcategory code for the item.
    • getGeometry

      @Nullable public @Nullable String getGeometry()
      Returns:
      Geometry associated with the item in WKT format.
    • getInfo

      @Nullable public @Nullable String getInfo()
      Returns:
      Additional information or description of the item.
    • getGe

      @Nullable public @Nullable PoiGeographicElement getGe()
      Returns:
      Geographic/administrative details for the item.
    • getRouteDistance

      @Nullable public @Nullable Integer getRouteDistance()
      Returns:
      Distance along the route in meters.
    • getRouteTime

      @Nullable public @Nullable Integer getRouteTime()
      Returns:
      Travel time along the route in seconds.
    • getRouteRealtime

      @Nullable public @Nullable Integer getRouteRealtime()
      Returns:
      Real-time travel time along the route in seconds.
    • getRouteWeight

      @Nullable public @Nullable Integer getRouteWeight()
      Returns:
      Weight value for the route calculation.
    • builder

      @NotNull public static @NotNull ProximityItem.Builder builder()
      Returns:
      A new builder instance.
    • toString

      public String toString()
      Overrides:
      toString in class Object