CamsDataTypeMetaData class

CAMS metadata about a data type: how it is collected and which permissions it needs.

Extends the carp_core DataTypeMetaData (type, displayName, and timeType) with the dataEventType and the runtime permissions. Sampling packages use it in their DataTypeSamplingSchemes, and CAMS asks for the permissions before a Probe starts.

Inheritance
  • Object
  • DataTypeMetaData
  • CamsDataTypeMetaData

Constructors

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

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