Package com.thingworx.types.collections
Class AspectCollection
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,IPrimitiveType>
-
- com.thingworx.types.collections.ValueCollection
-
- com.thingworx.types.collections.AspectCollection
-
- All Implemented Interfaces:
IDiffableObject
,java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,IPrimitiveType>
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class AspectCollection extends ValueCollection
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AspectCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AspectCollection
clone()
IPrimitiveType
getAspect(java.lang.String aspectName)
IPrimitiveType
getDefaultValueAspect()
boolean
matches(AspectCollection aspectsToCompare)
java.lang.String
toString()
-
Methods inherited from class com.thingworx.types.collections.ValueCollection
fromJSONTyped, getJSONSerializedValue, getPrimitive, getStringValue, getValue, has, matches, SetBooleanValue, SetDateTimeValue, SetImageValue, SetInfoTableValue, SetIntegerValue, SetJSONValue, SetLocationValue, SetLongValue, SetNumberValue, SetStringValue, SetTagsValue, SetThingCodeValue, setValue, SetValue, SetVec2Value, SetVec3Value, SetVec4Value, SetXMLValue, toInfoTable, toJSON, toJSONTyped, toNamedValueCollection
-
Methods inherited from class java.util.HashMap
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getAspect
@ThingworxExtensionApiMethod(since={6,6}) public IPrimitiveType getAspect(java.lang.String aspectName)
-
getDefaultValueAspect
@ThingworxExtensionApiMethod(since={6,6}) public IPrimitiveType getDefaultValueAspect()
-
toString
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String toString()
- Overrides:
toString
in classjava.util.AbstractMap<java.lang.String,IPrimitiveType>
-
clone
@ThingworxExtensionApiMethod(since={6,6}) public AspectCollection clone()
- Overrides:
clone
in classValueCollection
-
matches
@ThingworxExtensionApiMethod(since={6,6}) public boolean matches(AspectCollection aspectsToCompare)
-
-