Package com.thingworx.types.collections
Class GenericObjectCollection<T>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,T>
-
- com.thingworx.types.collections.GenericObjectCollection<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,T>
- Direct Known Subclasses:
DataShapeDefinitionCollection
,MultiEventSubscriptionCollection
,NamedObjectCollection
,PropertyCollection
,SubscriptionCollection
,ThingPropertyCollection
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class GenericObjectCollection<T> extends java.util.LinkedHashMap<java.lang.String,T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GenericObjectCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsEntity(java.lang.String name)
java.lang.String
getDescription()
java.lang.String
getName()
java.util.ArrayList<java.lang.String>
getNames()
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
getName
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getName()
-
getDescription
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getDescription()
-
containsEntity
@ThingworxExtensionApiMethod(since={6,6}) public boolean containsEntity(java.lang.String name)
-
getNames
@ThingworxExtensionApiMethod(since={6,6}) public java.util.ArrayList<java.lang.String> getNames()
-
-