@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class EntityReferenceCollection extends java.util.ArrayList<EntityReference> implements IDiffableObject
Constructor and Description |
---|
EntityReferenceCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addMember(EntityReference entity) |
void |
addMembers(EntityReferenceCollection members) |
boolean |
containsMember(EntityReference entity) |
boolean |
containsMember(java.lang.String name,
RelationshipTypes.ThingworxRelationshipTypes type) |
static EntityReferenceCollection |
fromJSON(org.json.JSONArray jsonArray) |
void |
removeMember(EntityReference entity) |
void |
removeMembers(EntityReferenceCollection members) |
InfoTable |
toInfoTable() |
org.json.JSONArray |
toJSON() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
@ThingworxExtensionApiMethod(since={6,6}) public boolean containsMember(java.lang.String name, RelationshipTypes.ThingworxRelationshipTypes type)
@ThingworxExtensionApiMethod(since={6,6}) public boolean containsMember(EntityReference entity)
@ThingworxExtensionApiMethod(since={6,6}) public void addMember(EntityReference entity)
@ThingworxExtensionApiMethod(since={6,6}) public void addMembers(EntityReferenceCollection members)
@ThingworxExtensionApiMethod(since={6,6}) public void removeMember(EntityReference entity)
@ThingworxExtensionApiMethod(since={6,6}) public void removeMembers(EntityReferenceCollection members)
@ThingworxExtensionApiMethod(since={6,6}) public InfoTable toInfoTable()
@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONArray toJSON() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public static EntityReferenceCollection fromJSON(org.json.JSONArray jsonArray) throws java.lang.Exception
java.lang.Exception
- If an error occurs