public class

MapShape

extends MapObject
java.lang.Object
   ↳ com.microstrategy.web.app.maps.MapObject
     ↳ com.microstrategy.web.app.maps.MapShape

Class Overview

The MapShape object is a subtype of MapObject created for representing a shape object stored in a repository.

Summary

Fields
protected String cacheIndex The cache index of the shape that stored in the cahced repository.
protected String id The shape id in string.
protected MapObjectRepository<MapShape> objectRepository The shape object repository where all the shapes are stored using MSTR cache framework
[Expand]
Inherited Fields
From class com.microstrategy.web.app.maps.MapObject
Public Methods
GeoDataOutput getCachedData(GeoDataSerializer serializer)
Reads the shape data from repository and generates the output using given serializer.
String getId()
Get the shape id.
int getType()
Get the shape type/shape category.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.maps.MapObject
From class java.lang.Object

Fields

protected String cacheIndex

The cache index of the shape that stored in the cahced repository.

protected String id

The shape id in string.

protected MapObjectRepository<MapShape> objectRepository

The shape object repository where all the shapes are stored using MSTR cache framework

Public Methods

public GeoDataOutput getCachedData (GeoDataSerializer serializer)

Reads the shape data from repository and generates the output using given serializer.

Parameters
serializer The GeoDataSerializer object.
Returns
  • A formatted string of shape data.

public String getId ()

Get the shape id.

Returns
  • the shape id

public int getType ()

Get the shape type/shape category.

Returns
  • the shape type/shape category