Concepts

Collections

Introduction

The KOS SDK provides some basic data structures that are helpful when working with collection of homogeneous KOS models. The data structures provided are all observable meaning that any other models or UI components that are referencing these structures will automatically re-rendered.

KosModelContainer

The KosModelContainer is an Array-like data structure that is optimized for data access. It allows for KOS Models to be added or removed, with both random access (by ID or index) as well as iterable (map, forEach) options depending on the requirement.

KosReferenceContainer

There will be cases where the data received from the backed will contain lists of references to other entities via its handle or id. In thess cases, the KosReferenceContainer can be used to automatically resolve the references and provide asynchronous ready status back to the application. Once resolved the KosReferenceContainer will behave exactly like the KosModelContainer providing the same API and data access capabilities.

KosContainerIndex

Previous
Next
On this page
Java Development
Seamlessly transition from Legacy+ systems to Freestyle microdosing and advanced distributed dispense systems.
UI Development
Using KOS SDKs, integrating Consumer and Non-consumer facing UIs becomes seamless, giving you less hassle and more time to create.
Video Library
Meet some of our development team, as they lead you through the tools, features, and tips and tricks of various KOS tools.
Resources
Familiarize yourself with KOS terminology, our reference materials, and explore additional resources that complement your KOS journey.
Copyright © 2024 TCCC. All rights reserved.