Class WebsiteAddress

  • java.lang.Object
    • com.here.sdk.search.WebsiteAddress

  • public final class WebsiteAddress
    extends java.lang.Object

    Represents data related to specific website address

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String address
      The website address.
      java.util.List<PlaceCategory> categories
      Categories associated with website address.
    • Constructor Summary

      Constructors 
      Constructor Description
      WebsiteAddress​(java.lang.String address, java.util.List<PlaceCategory> categories)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • address

        @NonNull
        public java.lang.String address

        The website address.

      • categories

        @NonNull
        public java.util.List<PlaceCategory> categories

        Categories associated with website address. Note: In case categories are not empty, then address should be used according to given categories. Otherwise, address is meant for general use.

    • Constructor Detail

      • WebsiteAddress

        public WebsiteAddress​(@NonNull
                              java.lang.String address,
                              @NonNull
                              java.util.List<PlaceCategory> categories)

        Creates a new instance.

        Parameters:
        address -

        The website address.

        categories -

        Categories associated with website address. Note: In case categories are not empty, then address should be used according to given categories. Otherwise, address is meant for general use.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object