Package io.jmix.ui.data.impl
Class MapDataItem
java.lang.Object
io.jmix.ui.data.impl.MapDataItem
- All Implemented Interfaces:
DataItem
,DataItem.HasId
,Serializable
Data item, which is a set of key-value pairs.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.data.DataItem
DataItem.HasId
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds value with given key.getId()
static MapDataItem
static MapDataItem
static MapDataItem
of
(String paramName1, Object paramValue1, String paramName2, Object paramValue2, String paramName3, Object paramValue3) static MapDataItem
of
(String paramName1, Object paramValue1, String paramName2, Object paramValue2, String paramName3, Object paramValue3, String paramName4, Object paramValue4) static MapDataItem
of
(String paramName1, Object paramValue1, String paramName2, Object paramValue2, String paramName3, Object paramValue3, String paramName4, Object paramValue4, String paramName5, Object paramValue5) static MapDataItem
of
(String paramName1, Object paramValue1, String paramName2, Object paramValue2, String paramName3, Object paramValue3, String paramName4, Object paramValue4, String paramName5, Object paramValue5, String paramName6, Object paramValue6) protected static void
put
(com.google.common.collect.ImmutableMap.Builder<String, Object> builder, String key, Object value) void
Removes property from thisMapDataItem
-
Field Details
-
properties
-
-
Constructor Details
-
MapDataItem
public MapDataItem() -
MapDataItem
-
-
Method Details
-
put
-
of
-
of
public static MapDataItem of(String paramName1, Object paramValue1, String paramName2, Object paramValue2) -
of
-
of
-
of
-
of
-
getValue
-
add
Adds value with given key.- Parameters:
key
- name of propertyvalue
- property value- Returns:
- this
MapDataItem
-
remove
Removes property from thisMapDataItem
- Parameters:
key
- name of property
-
getId
- Specified by:
getId
in interfaceDataItem.HasId
- Returns:
- unique identifier of DataItem
-