DataTransformerSchemaRegistry class

The registry of all DataTransformerSchemas, looked up by namespace.

A singleton. The CARP, OMH, FHIR, and default privacy schemas are registered on creation. Sampling packages add their transformers to these schemas, and the SmartphoneStudyController uses them to transform each measurement before it reaches the DataManager.

Constructors

DataTransformerSchemaRegistry()
Get the singleton instance of the DataTransformerSchemaRegistry.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemas → Map<String, DataTransformerSchema>
The map between the namespace of a transformer schema and the schema.
no setter

Methods

lookup(String namespace) → DataTransformerSchema?
The transformer schema for namespace, or null if none is registered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(DataTransformerSchema schema) → void
Registers schema under its namespace, replacing any existing one, and calls DataTransformerSchema.onRegister.
toString() → String
A string representation of this object.
inherited

Operators

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