Package com.thingworx.types.collections
Class ConfigurationTableCollection
- 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>
-
- com.thingworx.types.collections.NamedObjectCollection<ConfigurationTable>
-
- com.thingworx.types.collections.ConfigurationTableCollection
-
- All Implemented Interfaces:
IDiffableObject
,java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,ConfigurationTable>
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class ConfigurationTableCollection extends NamedObjectCollection<ConfigurationTable>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationTableCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationTable
getConfigurationTable(java.lang.String tableName)
IPrimitiveType
getPrimitive(java.lang.String tableName, java.lang.String propertyName)
java.lang.Object
getValue(java.lang.String tableName, java.lang.String propertyName)
java.lang.Object
getValueWithDefault(java.lang.String tableName, java.lang.String propertyName, java.lang.Object defaultValue)
java.lang.Boolean
isHidden(java.lang.String tableName)
java.lang.Boolean
isMultiRow(java.lang.String tableName)
void
setValue(java.lang.String tableName, java.lang.String propertyName, java.lang.Object value)
-
Methods inherited from class com.thingworx.types.collections.NamedObjectCollection
getNamesAsInfoTable, getOrderedList
-
Methods inherited from class com.thingworx.types.collections.GenericObjectCollection
containsEntity, getDescription, getName, 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
-
getConfigurationTable
@ThingworxExtensionApiMethod(since={6,6}) public ConfigurationTable getConfigurationTable(java.lang.String tableName)
-
getValue
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Object getValue(java.lang.String tableName, java.lang.String propertyName)
-
getValueWithDefault
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Object getValueWithDefault(java.lang.String tableName, java.lang.String propertyName, java.lang.Object defaultValue)
-
isMultiRow
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean isMultiRow(java.lang.String tableName)
-
isHidden
@ThingworxExtensionApiMethod(since={7,4}) public java.lang.Boolean isHidden(java.lang.String tableName)
-
getPrimitive
@ThingworxExtensionApiMethod(since={6,6}) public IPrimitiveType getPrimitive(java.lang.String tableName, java.lang.String propertyName)
-
setValue
@ThingworxExtensionApiMethod(since={6,6}) public void setValue(java.lang.String tableName, java.lang.String propertyName, java.lang.Object value) throws java.lang.Exception
- Throws:
java.lang.Exception
- If an error occurs
-
-