Package com.microstrategy.web.app.maps
Class MapShape
- java.lang.Object
-
- com.microstrategy.web.app.maps.MapObject
-
- com.microstrategy.web.app.maps.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 Summary
Fields Modifier and Type Field Description protected java.lang.String
cacheIndex
The cache index of the shape that stored in the cahced repository.protected java.lang.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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoDataOutput
getCachedData(GeoDataSerializer serializer)
Reads the shape data from repository and generates the output using given serializer.java.lang.String
getId()
Get the shape id.int
getType()
Get the shape type/shape category.-
Methods inherited from class com.microstrategy.web.app.maps.MapObject
getGeoData, getName, setGeoData, setName, setType
-
-
-
-
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.- Parameters:
serializer
- TheGeoDataSerializer
object.- Returns:
- A formatted string of shape data.
-
getId
public java.lang.String getId()
Get the shape id.- Returns:
- the shape id
-
-