Class MapShape

  • public class MapShape
    extends MapObject
    The MapShape object is a subtype of MapObject created for representing a shape object stored in a repository.
    • Field Detail

      • id

        protected java.lang.String id
        The shape id in string.
      • cacheIndex

        protected java.lang.String cacheIndex
        The cache index of the shape that stored in the cahced repository.
      • objectRepository

        protected MapObjectRepository<MapShape> objectRepository
        The shape object repository where all the shapes are stored using MSTR cache framework
    • Method Detail

      • getCachedData

        public GeoDataOutput getCachedData​(GeoDataSerializer serializer)
        Reads the shape data from repository and generates the output using given serializer.
        serializer - The GeoDataSerializer object.
        A formatted string of shape data.
      • getId

        public java.lang.String getId()
        Get the shape id.
        the shape id
      • getType

        public int getType()
        Get the shape type/shape category.
        getType in class MapObject
        the shape type/shape category