Category
Defines the builder to configure a category of a datamodel. With this builder you can configure a category
Constructor Summary
| Public Constructor | ||
| public |
constructor(Reference: InternalOpenGateAPI, identifier: identifier, datastreams: Array) |
|
Method Summary
| Public Methods | ||
| public |
addDatastream(datastream: Object): Category Add a datastream to the category |
|
| public |
addDatastreams(datastreams: Object): Category Add a datastreams to the category |
|
| public |
withName(name: *): * |
|
Public Constructors
public constructor(Reference: InternalOpenGateAPI, identifier: identifier, datastreams: Array) source
Params:
| Name | Type | Attribute | Description |
| Reference | InternalOpenGateAPI |
|
to the API object. |
| identifier | identifier |
|
of category |
| datastreams | Array | of category |
Public Methods
public addDatastream(datastream: Object): Category source
Add a datastream to the category
Params:
| Name | Type | Attribute | Description |
| datastream | Object |
|
json object |