Module sep2_common::traits
source · Expand description
Module of traits representing IEEE 2030.5 types used as base types.
All IEEE 2030.5 top-level types are either a Resource. Since the spec does not use multiple-inheritance, there is redundancy in the inheritance tree. We have this removed this redundancy for clarity & usability. Each of these traits can be derived provided an attribute with the expected type (as per the specification, not these traits) exists.
Traits
- SEAbstractDevice
edev
Implemented by all types whose base type isAbstractDevice
- SEBillingMeterReadingBase
billing
Implemented by all types whose base type isSEBillingMeterReadingBase
- Implemented by all types whose base type is
Event
- Implemented by all types whose base type is
FunctionSetAssignmentsBase
- Implemented by all types whose base type is
IdentifiedObject
- Implemented by all types whose base type is
List
- SEMeterReadingBase
metering_mirror
Implemented by all types whose base type isMeterReadingBase
- Implemented by all types whose base type is
RandomizableEvent
- SEReadingBase
metering_mirror
Implemented by all types whose base type isReadingBase
- SEReadingSetBase
metering_mirror
Implemented by all types whose base type isReadingSetBase
- A top-level IEEE 2030.5 Resource.
- Implemented by all types whose base type is
RespondableIdentifiedObject
- Implemented by all types whose base type is
RespondableResource
- Implemented by all types whose base type is
RespondableSubscribableIdentifiedObject
- Implemented by all types whose base type is
Response
- Implemented by all types whose base type is
SubscribableIdentifiedObject
- Implemented by all types whose base type is
SubscribableList
- Implemented by all types whose base type is
SubscribableResource
- SESubscriptionBase
pubsub
Implemented by all types whose base type isSubscriptionBase
- Supertrait for all base traits; implemented by all IEEE 2030.5 types present in the XSD
- SEUsagePointBase
metering_mirror
Implemented by all types whose base type isUsagePointBase
- A trait that may be used in future to check invariants on IEEE 2030.5 data types