Class StreetInfo

java.lang.Object
com.here.sdk.search.StreetInfo

public final class StreetInfo extends Object

Street name details.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Base name part of the street name.
    BCP 47 compliant language code.
    Street type untranslated (not localized) part of the street name For example: straße of Saalestraße ulica of ulica Mariacka Avenue of 20th Avenue empty of Ffordd Pen Llech
    boolean
    Defines if the street type is attached or unattached to the base name.
    boolean
    Defines if the street type is before or after the base name.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • baseName

      @NonNull public String baseName

      Base name part of the street name. For example:

      • Saale of Saalestraße
      • Mariacka of ulica Mariacka
      • 20th of 20th Avenue
      • Ffordd Pen Llech of Ffordd Pen Llech
    • streetType

      @NonNull public String streetType

      Street type untranslated (not localized) part of the street name For example:

      • straße of Saalestraße
      • ulica of ulica Mariacka
      • Avenue of 20th Avenue
      • empty of Ffordd Pen Llech
    • streetTypePrecedes

      public boolean streetTypePrecedes

      Defines if the street type is before or after the base name. For example:

      • false for Saalestraße
      • true for ulica Mariacka
      • false for 20th Avenue
      • false for Ffordd Pen Llech
    • streetTypeAttached

      public boolean streetTypeAttached

      Defines if the street type is attached or unattached to the base name. Meaning if it is a separate word or combined with the base name. For example:

      • true for Saalestraße
      • false for ulica Mariacka
      • false for 20th Avenue
      • false for Ffordd Pen Llech
    • language

      @NonNull public String language

      BCP 47 compliant language code.

  • Constructor Details

    • StreetInfo

      public StreetInfo()

      Creates a new instance.

  • Method Details