Package com.thingworx.common
Class NamedValueCollection
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public final class NamedValueCollection
extends HashMap<String,Object>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
NamedValueCollection
public NamedValueCollection()Initializes this instace with default values.
-
-
Method Details
-
getValue
-
getValueWithDefault
@ThingworxExtensionApiMethod(since={6,6}) public Object getValueWithDefault(String name, Object defaultValue)
-