Package org.openremote.model.attribute
Class MetaMap
java.lang.Object
- All Implemented Interfaces:
Serializable
,Map<String,
MetaItem<?>>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deserialise aMetaMap
that is represented as a JSON object where each key is the name of aMetaItemDescriptor
Nested classes/interfaces inherited from class com.google.common.collect.ForwardingMap
com.google.common.collect.ForwardingMap.StandardEntrySet, com.google.common.collect.ForwardingMap.StandardKeySet, com.google.common.collect.ForwardingMap.StandardValues
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialiseMetaMap
(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, Function<String, MetaItemDescriptor<?>> metaDescriptorProvider) get
(MetaItemDescriptor<S> metaDescriptor) <S> MetaItem
<S> getOrCreate
(MetaItemDescriptor<S> metaDescriptor) <U extends MetaItemDescriptor<?>>
voidremove
(U nameHolder) Methods inherited from class org.openremote.model.attribute.NamedMap
add, addAll, addAll, addAll, addOrReplace, addOrReplace, addOrReplace, addOrReplace, delegate, forEach, get, get, getValue, getValue, has, has, put, put, putAll, putAll, removeIf, stream
Methods inherited from class com.google.common.collect.ForwardingMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, values
Methods inherited from class com.google.common.collect.ForwardingObject
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MetaMap
public MetaMap() -
MetaMap
-
MetaMap
-
-
Method Details
-
deserialiseMetaMap
public static List<MetaItem<?>> deserialiseMetaMap(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, Function<String, MetaItemDescriptor<?>> metaDescriptorProvider) throws IOException- Throws:
IOException
-
get
-
remove
-
getOrCreate
-