DataMapItem

public class DataMapItem extends Object

Creates a new dataItem-like object containing structured and serializable data.

Public Method Summary

static DataMapItem
fromDataItem ( DataItem dataItem)
Provides a DataMapItem wrapping a dataItem.
DataMap
getDataMap ()
Returns the DataMap .
Uri
getUri ()
Returns the underlying dataItem's Uri.

Inherited Method Summary

Public Methods

public static DataMapItem fromDataItem ( DataItem dataItem)

Provides a DataMapItem wrapping a dataItem.

A DataItem passed to this method does not need to be frozen ( Freezable.freeze() ), this method freezes the object.

Parameters
dataItem
the base for the wrapped DataMapItem . dataItem should not be modified after wrapping it.

public DataMap getDataMap ()

Returns the DataMap .

public Uri getUri ()

Returns the underlying dataItem's Uri.

Create a Mobile Website
View Site in Mobile | Classic
Share by: