CamsDataTypeMetaData class

Contains CAMS-specific meta data about a specific data type to be collected.

In addition to core DataTypeMetaData, which stores the type, displayName, and timeType of the data, this CamsDataTypeMetaData also stores information on dataEventType and what permissions are needed on runtime to collect this data type.

Inheritance
  • Object
  • DataTypeMetaData
  • CamsDataTypeMetaData

Constructors

CamsDataTypeMetaData({required String type, String displayName = '', DataTimeType timeType = DataTimeType.POINT, DataEventType dataEventType = DataEventType.EVENT, List<Permission> permissions = const []})
Create a new description of a data type with some displayName. Default timeType is DataTimeType.POINT, default dataEventType is DataEventType.EVENT, and default permissions is empty (no permissions required).
CamsDataTypeMetaData.fromDataTypeMetaData({required DataTypeMetaData dataTypeMetaData, DataEventType dataEventType = DataEventType.EVENT, List<Permission> permissions = const []})
Create a new description of a data type based on the dataTypeMetaData. Default dataEventType is DataEventType.EVENT, and default permissions is empty (no permissions required).

Properties

dataEventType DataEventType
How a data type is collected (one-time or event-based).
getter/setter pair
displayName String
A name which can be used to display to the user which data is collected.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
permissions List<Permission>
The list of permissions that are required for this data type.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeType ↔ DataTimeType
Determines how Data for type is stored temporally (a point in time or as a time span).
getter/setter pairinherited
type String
Unique fully qualified name for the data type this meta data relates to.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited