Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Nested composite attributes can be defined inline within a model definition without a separate type definition preceding its usage. 


DataModel with ad-hoc composite attribute
#
DataModel(name: SensorModel"):
    String(name: SensorID");
    String(name: SensorValue");
    String(name: Unit");
    Data(name: Device"):
        String(name: Name");
        String(name: Type");
  • No labels