Class CatalogIdentifier

  • java.lang.Object
    • com.here.sdk.core.engine.CatalogIdentifier

  • public final class CatalogIdentifier
    extends java.lang.Object

    This class is used to identify any catalog in the HERE platform.

    A catalog is a storage-representation to store map data on the HERE platform. The data inside a catalog is divided into layers, where each layer consists of datasets with similar functional attributes in the physical world. For example, there can be a layer for road-topology, a layer for road-attributes (such as speed limits) and a layer for places and business addresses. All these layers, in different geographic regions, can be grouped together into a catalog to create a representation of the world we live in, called HERE map. It can be also used to render a MapView. Each geographic region is cut into geospatial tiles for efficient search, map display, routing, map matching, and driver warnings. Each tile partitions the map data (in one or more layers, depending on the product) in the geolocation of that specific tile. The data inside a catalog is logically managed and access controlled as a single set. If you have any data that you want to bring to the HERE platform, you need a catalog to contain it. For additional information about catalogs, and related concepts of data representation on the HERE platform, refer to the Data API and Introduction to Mapping Concepts

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String hrn
      A HERE Resource Name (HRN) for this catalog.
      java.lang.Long version
      A version number for a catalog.
    • Constructor Summary

      Constructors 
      Constructor Description
      CatalogIdentifier()
      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

      • hrn

        @NonNull
        public java.lang.String hrn

        A HERE Resource Name (HRN) for this catalog. This is a unique string returned by the HERE platform when you add a new catalog to your project. For information about catalog creation process refer to the Data API By default, this field points to a default catalog on HERE platform, which contains data for the whole world excluding the region of Japan. Use CatalogConfiguration.getDefault(com.here.sdk.core.engine.CatalogType) to get the default HRN value for use with the HERE platform.

      • version

        @Nullable
        public java.lang.Long version

        A version number for a catalog. When accessing a catalog, this version must be specified. Set null to automatically get the latest version for a catalog. The field defaults to null. Since the data inside a catalog can be updated, each published modification needs to correlate to a specific version number. Note: when CatalogIdentifier created with DesiredCatalog then:

    • Constructor Detail

      • CatalogIdentifier

        public CatalogIdentifier()

        Creates a new instance.

    • 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