Internet of Things Architecture

(Elliott) #1
Driver
+ licenseNumber
+ name

Worker
+ name
+ workPlace

Manager
+ groupName
+ name

Box
+ ID
+ stackable

Pallet
+ ID

Figure 41 : Example for flat entityType model.

EntityType

LoadCarrier
+ ID
+ size
+ weight

Human
+ name

Box
+ stackable

Pallet

WoodenPallet PlasticPallet
+ colour

Driver
+ licenseNumber

Worker
+ workPlace

Manager
+ groupName

Figure 42 : Example for hierarchical entityType model.

Viewpoint for modelling entityType hierarchies


EntityTypes are similar to classes in object-oriented programming, so UML
class diagrams as shown above are suitable for modelling entityTypes. As
shown in Figure 42 : Example for hierarchical entityType model the
generalization relation can be used for modelling sub-classes of entiyTypes,
creating a hierarchy of several entityTypes inheriting attributes from its super-
classes. Alternatively, ontology languages like OWL also provide the means for
modelling classes and sub-classes, so they can also be used for modelling type

Free download pdf