Package com.cognite.client.util
Class Items
- java.lang.Object
-
- com.cognite.client.util.Items
-
public class Items extends Object
Utility class for helping buildItemobjects.
-
-
Constructor Summary
Constructors Constructor Description Items()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<com.cognite.client.dto.Item>parseItems(long... internalId)Build a list ofItembased on a set ofids.static List<com.cognite.client.dto.Item>parseItems(String... externalId)Build a list ofItembased on a set ofexternaIds.
-
-
-
Method Detail
-
parseItems
public static List<com.cognite.client.dto.Item> parseItems(String... externalId)
Build a list ofItembased on a set ofexternaIds.- Parameters:
externalId- TheexternaIdsto use as a basis for theItems.- Returns:
- The corresponding list of
Item
-
parseItems
public static List<com.cognite.client.dto.Item> parseItems(long... internalId)
Build a list ofItembased on a set ofids.- Parameters:
internalId- Theidsto use as a basis for theItems.- Returns:
- The corresponding list of
Item
-
-