Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

BaSyx / Documentation / HashMap Provider

Overview | HashMap provider | Lambda provider | FileSystem provider | Implementation

The HashMap provider is one of the basic providers in the BaSyx SDK for generic models. A HashMap serves as the root element for storing the contained data. By allowing child elements to be HashMaps and Collections, arbitrary hierarchical objects can be represented. Thus, the Virtual Automation Bus does not only support BaSys components but can also handle other data structures. Consider the following example:

	"name" : "MyElement",
	"operation" : calculateSomething(),
	"data" : {
		"type" : "boolean",
		"value" : true

Internally, there is a reference to a single HashMap with three entries: name, operation and data. The first two are single elements directly stored in the root HashMap, whereas the last one is an additional HashMap containing two basic data elements.

Back to the top