Skip to content

COOM Profile: D-BASE

Synopsis

The COOM D-BASE allows for the definition of simple default values, i.e., values of elements are initially set by the reasoner but can be overwritten by the user or by other behaviors. In this profile only the simple assignment of default values is provided, i.e., no change of the defaults during the configuration session is possible.

Building Blocks

Example: White Bike

The WhiteBike allows for three different colors, but is assigned to White by default, if no other value is manually chosen. The user (or constraints) are able to set the color to a different value.

product {
    WhiteBike whiteBike
}

structure WhiteBike {
    Color color
}

enumeration Color { White Black Red }

behavior WhiteBike {
    default color = White
}