Information Technology Reference
In-Depth Information
model to create feature models such as those presented in
Chapter 2. Figure 3.3 presents Czarnecki et al.'s feature
metamodel [CZA 04]. FeatureGroup expresses a choice
over the set of GroupedFeatures in the group and its
groupCardinality defines the restriction on the number of
choices. A GroupedFeature does not have cardinality and
a SolitaryFeature is a feature that is not grouped by
any FeatureGroup . The cardinality of a SolitaryFeature
specifies the maximum number of times this feature can
appear in a final feature configuration. Thus, for example, if
a SolitaryFeature has cardinality [1..2] , this feature can
appear once or twice in a feature configuration. The process
of creating several features in feature configurations from one
SolitaryFeature is called cloning , and the features created
are called clones . Finally, features may have Attributes
of different types and references ( FDReference ) to other
features. The values for the attributes related to clones can
be different for each clone.
Figure 3.3. Czarnecki et al.'s feature metamodel [CHE 04]
Figure 3.4 presents our Smart-Home feature model for
the facilities introduced in Chapter 2. One FeatureGroup
appears for each group of facilities. The Lock Door Control
featuregroupsthefeatures Fingerprint and Keypad andhas
cardinality [0..1] ,which means that Door elements can have
eitherkeypad,fingerprint,ornoneofthemasalockdoorcontrol
Search WWH ::




Custom Search