This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Characteristic Models

Define quasi-static and static data describing workers and factory things.

    This set of classes allows to define quasi-static and static data describing workers and factory things.

    Clawdite model: highlight on Characteristic Models

    Note that the required model attributes are indicated with a red asterisk ("*"). For mandatory relations, refer to the multiplicity instead, as relationships are defined on one side only (i.e., a specific relationship might be described within the other related entity).

    CharacteristicDescriptor

    The CharacteristicDescriptor allows the extension of AbstractDescriptor with a specific class dedicated to (quasi-)static data. The class can include any kind of characteristics relevant for the description of workers and other entities in the factory. For example, the height or the set of skills may be workers’ features modelled through the class CharacteristicDescriptor.

    CharacteristicValue

    The class CharacteristicValue allows the definition of the value that characterise a CharacteristicDescriptor of a specific factory entity, represented by the classFactoryEntity.

    The CharacteristicValue is described by the following attributes:

    AttributeTypeDescription
    values*Map<LocalDatetime, String>A map with all the values the characteristic assumed over time, indexed by the acquisition timestamp. For example, the “weight” characteristic has 3 values if the worker has been weighted 3 times.
    type*TypeFieldThe actual type of the values listed in the values Map. It is useful to correctly parse the content of the string value.

    The CharacteristicValue has the following relations:

    ClassRelation typeMultiplicityDescription
    CharacteristicDescriptorComposition1The CharacteristicValue is always composed by a CharacteristicDescriptor, to which the value refers to.
    FactoryEntityComposition1The CharacteristicValue is always related to a FactoryEntity, to which the characteristic refers to.