Revision 447eaddf7e2feb9a1ab16b1e7613d4ad98df1482 (click the page title to view the current version)
Behavioral Modeling - Power Window
Modeling variability and structures with variability
Feature modeling
Metamodel
abstract final Feature
abstract final FeatureModel
Model
Structural modeling
Metamodel
abstract final Component
abstract Port
abstract final Command
abstract State
abstract StateMachine
Model
Commands and requests.
abstract final UserRequest
Window motor
Window controller
abstract WinController : Component
final xor WinStates : StateMachine
Variability in structural models
Linking the feature with the optional component (structural variability)
The component pinchDetector is only required if we
support the feature pinchProtection.
Disabling
objectDetected port
Without the feature pinchProtection, the port
objectDetected should be inactive. Having the feature will
allow receiving the signal objectDetected.
Alphabet variability
The user request expressUp is only available when the
feature express is present.
