Enum Class PoiCategoryGroup

java.lang.Object
java.lang.Enum<PoiCategoryGroup>
com.mapfactor.sdk.search.PoiCategoryGroup
All Implemented Interfaces:
Serializable, Comparable<PoiCategoryGroup>, Constable

public enum PoiCategoryGroup extends Enum<PoiCategoryGroup>
All POI category groups
Since:
1.0
  • Enum Constant Details

  • Method Details

    • values

      public static PoiCategoryGroup[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PoiCategoryGroup valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public int getId()
    • getName

      @NonNull public abstract String getName()
      Get POI category group name
      Returns:
      POI category group name
      Since:
      1.0
    • getAllGroupCategories

      @NonNull public static List<PoiCategory> getAllGroupCategories(@NonNull PoiCategoryGroup poiCategoryGroup)
      Get all POI categories belonging to specified group
      Parameters:
      poiCategoryGroup - POI category group to get all categories
      Returns:
      list of all POI categories belonging to poiCategoryGroup
      Since:
      1.0