Abstract
Although a feature model can represent commonalities and variabilities in a very concise taxonomic form, features in a feature model are merely symbols. Mapping features to other models, such as behavioral or data specifications, gives them semantics. In this paper, we propose a general template-based approach for mapping feature models to concise representations of variability in different kinds of other models. We show how the approach can be applied to UML 2.0 activity and class models and describe a prototype implementation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Czarnecki, K., Eisenecker, U.W.: Generative Programming: Methods, Tools, and Applications. Addison-Wesley, Reading (2000)
Czarnecki, K.: Overview of Generative Software Development. In: Proceedings of the European Commission and US National Science Foundation Strategic Research Workshop on Unconventional Programming Paradigms, September 15-17, 2004, Mont Saint-Michel, France (2004), http://www.swen.uwaterloo.ca/~kczarnec/gsdoverview.pdf
Batory, D.: Feature Models, Grammars, and Propositional Formulas. Technical Report TR-05-14, University of Texas at Austin, Texas (2005)
Object Management Group: Meta-Object Facility (2002), http://www.omg.org/technology/documents/formal/mof.htm
Kang, K., Cohen, S., Hess, J., Nowak, W., Peterson, S.: Feature-oriented domain analysis (FODA) feasibility study. Technical Report CMU/SEI-90-TR-21, Software Engineering Institute, Carnegie Mellon University, Pittsburgh, PA (1990)
Czarnecki, K., Helsen, S., Eisenecker, U.: Staged configuration through specialization and multi-level configuration of feature models. Software Process Improvement and Practice 10, 143â169 (2005), http://swen.uwaterloo.ca/~kczarnec/spip05b.pdf
Czarnecki, K., Helsen, S., Eisenecker, U.: Formalizing cardinality-based feature models and their specialization. Software Process Improvement and Practice 10, 7â29 (2005)
Antkiewicz, M., Czarnecki, K.: FeaturePlugin: Feature modeling plug-in for Eclipse. In: OOPSLA 2004 Eclipse Technology eXchange (ETX) Workshop (2004), Paper available from: http://www.swen.uwaterloo.ca/~kczarnec/etx04.pdf Software available from: gp.uwaterloo.ca/fmp
World Wide Web Consortium: XML Path Language (XPath) 2.0 (2005), http://www.w3.org/TR/xpath20/
Object Management Group: Unified Modeling Language 2.0 (2004), http://www.omg.org/cgi-bin/apps/doc?ptc/04-10-02.zip
Schnieders, A., Puhlmann, F.: Activity diagram inheritance. In: Abramowicz, W. (ed.) Proceedings of 8th International Conference on BIS 2005 - Business Information Systems, Poznan, Poland (2005)
Lee, J., Xue, N.L., Kuei, T.L.: A note on state modeling through inheritance. SIGSOFT Softw. Eng. Notes 23, 104â110 (1998)
Simons, A.J.H., Stannett, M.P., Holcombe, K.E.B.: Plug and play safely: Rules for behavioural compatibility. In: Proc. 6th IASTED Int. Conf. Software Engineering and Applications, pp. 263â268 (2002)
Ziadi, T., HĂ©louĂ«t, L., JĂ©zĂ©quel, J.M.: Towards a uml profile for software product lines. In: van der Linden, F.J. (ed.) PFE 2003. LNCS, vol. 3014, pp. 129â139. Springer, Heidelberg (2004)
Wasowski, A.: Automatic generation of program families by model restrictions. In: Nord, R.L. (ed.) SPLC 2004. LNCS, vol. 3154, pp. 73â89. Springer, Heidelberg (2004)
Batory, D., Sarvela, J.N., Rauschmayer, A.: Scaling step-wise refinement. In: Proceedings of the 25th International Conference on Software Engineering (ICSE), Portland, Oregon, pp. 187â197. IEEE Computer Society, Los Alamitos (2003)
Tarr, P., Ossher, H., Harrison, W., Stanley, M., Sutton, J.: N degrees of separation: multi-dimensional separation of concerns. In: ICSE 1999: Proceedings of the 21st international conference on Software engineering, pp. 107â119. IEEE Computer Society Press, Los Alamitos (1999)
Philippow, I., Riebisch, M., Boellert, K.: The hyper/UML approach for feature based software design. In: Akkawi, F., Aldawud, O., Booch, G., Clarke, S., Gray, J., Harrison, B., Kandé, M., Stein, D., Tarr, P., Zakaria, A. (eds.) The 4th AOSD Modeling With UML Workshop (2003)
McNeile, A.T., Simons, N.: State machines as mixins. Journal of Object Technology 2, 85â101 (2003)
Prehofer, C.: Plug-and-play composition of features and feature interactions with statechart diagrams. In: FIW, pp. 43â58 (2003)
Straw, G., Georg, G., Song, E., Ghosh, S., France, R., Bieman, J.M.: Model composition directives. In: Baar, T., Strohmeier, A., Moreira, A., Mellor, S.J. (eds.) UML 2004. LNCS, vol. 3273, pp. 84â97. Springer, Heidelberg (2004)
Jarzabek, S., Zhang, H.: Xml-based method and tool for handling variant requirements in domain models. In: RE, pp. 166â173 (2001)
Czarnecki, K., Bednasch, T., Unger, P., Eisenecker, U.W.: Generative programming for embedded software: An industrial experience report. In: Batory, D., Consel, C., Taha, W. (eds.) GPCE 2002. LNCS, vol. 2487, pp. 156â172. Springer, Heidelberg (2002)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Czarnecki, K., Antkiewicz, M. (2005). Mapping Features to Models: A Template Approach Based on Superimposed Variants. In: GlĂŒck, R., Lowry, M. (eds) Generative Programming and Component Engineering. GPCE 2005. Lecture Notes in Computer Science, vol 3676. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11561347_28
Download citation
DOI: https://doi.org/10.1007/11561347_28
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-29138-1
Online ISBN: 978-3-540-31977-1
eBook Packages: Computer ScienceComputer Science (R0)