Package com.thingworx.common
Class NamedValueCollection
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- com.thingworx.common.NamedValueCollection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,java.lang.Object>
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class NamedValueCollection extends java.util.HashMap<java.lang.String,java.lang.Object>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamedValueCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue(java.lang.String name)
java.lang.Object
getValueWithDefault(java.lang.String name, java.lang.Object defaultValue)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getValue
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Object getValue(java.lang.String name)
-
getValueWithDefault
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Object getValueWithDefault(java.lang.String name, java.lang.Object defaultValue)
-
-