public class

Entity

extends Object
java.lang.Object
   ↳ com.mapsted.positioning.coreObjects.Entity

Summary

Public Constructors
Entity(MetadataRepository metadataRepository, CppEntity cppEntity)
Public Methods
String asString()
boolean checkEntityType(int entityType, int subEntityType)
boolean equals(Object obj)
static String findValueForDefaultOrEnglishLanguage(Map<String, String> languageStringMap)
int getBuildingId()
String getCartoCssClassName()
double getCartoCssHeight()
String getCartoCssLayerName()
String getCartoCssTextClassName()
String getCartoCssTextLayerName()
String getCategoryName()
Cms.Entity getCmsEntity()
List<String> getCoverImageUrls()
String getDarkMapIconImageUrl()
IMercatorZone getDarkMapIconLocation()
Float getDarkMapIconRotation()
float getDarkMapIconSize()
Cms.MapIconStyle getDarkMapIconStyle()
Cms.AppStyle getDefaultIconStyles()
String getDefaultMapIconImageUrl()
IMercatorZone getDefaultMapIconLocation()
Float getDefaultMapIconRotation()
float getDefaultMapIconSize()
Cms.MapIconStyle getDefaultMapIconStyle()
String getDescription()
int getEntityId()
String getEntityNameKey()
int getEntityType()
String getEntityTypeLabel()
IEntityTypePair getEntityTypePair()
int getFloorId()
Common.GeometryType getGeometryType()
String getGeometryTypeLabel()
List<Hours> getHoursList()
String getImageUrl(String imageId)
String getKeywords()
String getLightMapIconImageUrl()
IMercatorZone getLightMapIconLocation()
Float getLightMapIconRotation()
float getLightMapIconSize()
Cms.MapIconStyle getLightMapIconStyle()
MercatorZone getLocation()
The location depends on the type of geometry.
String getLongName()
Common.MapDataType getMapDataType()
String getMapName()
String getMapNameEnglish()
Cms.StyleOptions getMapPlotStyleOptions()
Cms.MobileSettings getMobileSettings()
String getName()
String getNameEnglish()
String getPhone()
MapPoint getPoint()
int getPointId()
MapPolygon getPolygon()
int getPolygonId()
MapPolyline getPolyline()
int getPolylineId()
int getPropertyId()
SearchEntity getSearchEntity()
String getShortName()
Map<String, String> getSocialMedia()
List<Category> getSubCategories()
int getSubEntityType()
MercatorZone getTextLocation()
Cms.TextStyle getTextStyle()
String getUiIconImageUrl()
This is the icon image URL for UI purposes
String getWebsite()
boolean hasMapIcon()
boolean hasParent()
boolean hasText()
boolean hasTextRotation()
boolean hasTextStyle()
int hashCode()
boolean isCartoCssFade()
boolean isRoutable()
boolean isSearchable()
boolean isTransition()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Entity (MetadataRepository metadataRepository, CppEntity cppEntity)

Public Methods

public String asString ()

public boolean checkEntityType (int entityType, int subEntityType)

public boolean equals (Object obj)

public static String findValueForDefaultOrEnglishLanguage (Map<String, String> languageStringMap)

public int getBuildingId ()

public String getCartoCssClassName ()

public double getCartoCssHeight ()

public String getCartoCssLayerName ()

public String getCartoCssTextClassName ()

public String getCartoCssTextLayerName ()

public String getCategoryName ()

public Cms.Entity getCmsEntity ()

public List<String> getCoverImageUrls ()

public String getDarkMapIconImageUrl ()

public IMercatorZone getDarkMapIconLocation ()

public Float getDarkMapIconRotation ()

public float getDarkMapIconSize ()

public Cms.MapIconStyle getDarkMapIconStyle ()

public Cms.AppStyle getDefaultIconStyles ()

public String getDefaultMapIconImageUrl ()

public IMercatorZone getDefaultMapIconLocation ()

public Float getDefaultMapIconRotation ()

public float getDefaultMapIconSize ()

public Cms.MapIconStyle getDefaultMapIconStyle ()

public String getDescription ()

public int getEntityId ()

public String getEntityNameKey ()

public int getEntityType ()

public String getEntityTypeLabel ()

public IEntityTypePair getEntityTypePair ()

public int getFloorId ()

public Common.GeometryType getGeometryType ()

public String getGeometryTypeLabel ()

public List<Hours> getHoursList ()

public String getImageUrl (String imageId)

public String getKeywords ()

public String getLightMapIconImageUrl ()

public IMercatorZone getLightMapIconLocation ()

public Float getLightMapIconRotation ()

public float getLightMapIconSize ()

public Cms.MapIconStyle getLightMapIconStyle ()

public MercatorZone getLocation ()

The location depends on the type of geometry. For polygons, this is the centroid location, For polylines, this is the start point location, For points, this is the point location

Returns
  • The location of the entity

public String getLongName ()

public Common.MapDataType getMapDataType ()

public String getMapName ()

public String getMapNameEnglish ()

public Cms.StyleOptions getMapPlotStyleOptions ()

public Cms.MobileSettings getMobileSettings ()

public String getName ()

public String getNameEnglish ()

public String getPhone ()

public MapPoint getPoint ()

public int getPointId ()

public MapPolygon getPolygon ()

public int getPolygonId ()

public MapPolyline getPolyline ()

public int getPolylineId ()

public int getPropertyId ()

public SearchEntity getSearchEntity ()

public String getShortName ()

public Map<String, String> getSocialMedia ()

public List<Category> getSubCategories ()

public int getSubEntityType ()

public MercatorZone getTextLocation ()

public Cms.TextStyle getTextStyle ()

public String getUiIconImageUrl ()

This is the icon image URL for UI purposes

public String getWebsite ()

public boolean hasMapIcon ()

public boolean hasParent ()

public boolean hasText ()

public boolean hasTextRotation ()

public boolean hasTextStyle ()

public int hashCode ()

public boolean isCartoCssFade ()

public boolean isRoutable ()

public boolean isSearchable ()

public boolean isTransition ()

public String toString ()