Class PlaceFoodType

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

  • public final class PlaceFoodType
    extends java.lang.Object

    Parameters related to HERE Places cuisine system.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String id
      Identifier for an associated food type.
      java.lang.String name
      Name of the food type in the requested language.
      boolean primary
      Whether or not it is a primary food type.
    • Constructor Summary

      Constructors 
      Constructor Description
      PlaceFoodType​(java.lang.String id)
      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

      • id

        @NonNull
        public java.lang.String id

        Identifier for an associated food type. For example, the food type ID "200-000" represents the unique culture and flavor of Asia. The complete list of supported food type IDs can be found here.

      • name

        @Nullable
        public java.lang.String name

        Name of the food type in the requested language. Ignored when used in PlaceFilter.

      • primary

        public boolean primary

        Whether or not it is a primary food type.

    • Constructor Detail

      • PlaceFoodType

        public PlaceFoodType​(@NonNull
                             java.lang.String id)

        Creates a new instance.

        Parameters:
        id -

        Identifier for an associated food type. For example, the food type ID "200-000" represents the unique culture and flavor of Asia. The complete list of supported food type IDs can be found here.

    • 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