Thing class
Represents a Thing
in the S3I-Directory data model.
See the KWH Standpunkt for more information about a thing an its function.
Simple UML diagram for the S3I-Directory data model:
+--------------+
| |
| S3I::Thing |
| |
+--------------+
^
|
|thingStructure
|
|0..1
+-------+-------+0..1 target +--------------+
| +---------------->| |
| S3I::Object | | S3I::Link |
| |<----------------+ |
+---------------+ links * +--------------+
^
|
|values
|
|*
+-------+------+
| |
| S3I::Value |
| |
+--------------+
Constructors
Properties
- administratedBy ↔ String?
-
The administrator of this thing (UUIDv4).
getter/setter pair
-
allEndpoints
↔ List<
Endpoint> ? -
All endpoints of this thing (e.g. S3I-B, OPC UA, MQTT, etc - addresses).
getter/setter pair
- dataModel ↔ String?
-
The data model of this entry (fml40).
getter/setter pair
- defaultEndpoint ↔ Endpoint?
-
The currently active endpoint of the thing.
getter/setter pair
- defaultHMI ↔ String?
-
The current active hmi (e.g. app, website, etc.).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier of this entry.
finalinherited
- location ↔ Location?
-
The last know location of this thing.
getter/setter pair
- name ↔ String?
-
The display name.
getter/setter pair
- ownedBy ↔ String?
-
The owner id of this thing (UUIDv4).
getter/setter pair
- publicKey ↔ String?
-
The public key for secure communication.
getter/setter pair
- represents ↔ String?
-
The user id who is represented by this thing (digital twin)
UUID.4
.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thingStructure ↔ DirObject?
-
The fml40 structure/information of this thing.
getter/setter pair
- thingType ↔ ThingType?
-
The type, see ThingType.
getter/setter pair
- usedBy ↔ String?
-
The current user of this thing (UUIDv4).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns the information stored in this object in a way the it could be
encoded via
jsonEncode()
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited