Abstract
Binding to a template in UML encompasses the substitution of that template’s parameters by compatible domain elements. However, such compatibility is scarcely verified by a minimal set of rules in the UML metamodel. As a consequence, binding to a template can result in badly-formed models. Such option in the design of UML was certainly intentional, since more stringent rules could prevent the development of richer semantics for the Bind relationship. But, while such semantics are not in place, problems may arise in several parts of a model just because of a bad, yet valid, template parameter substitution. This paper proposes a new set of validation rules for UML templates, introducing the requirement of Functional Conformance. Functional Conformance guarantees well-formedness and computability for elements bound to a template, consistently with the default semantics of the Bind relationship. It is formulated as OCL constraints on top of the OMG’s UML metamodel.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Abadi, M., Cardelli, L.: A theory of objects. Syst. Res. 1–130 (1996)
Caron, O., Carré, B.: An OCL formulation of UML2 template binding. In: Baar, T., et al. (eds.) UML’ 2004 — the Unified Modeling Language. Modeling Languages and Applications. Lecture Notes in Computer Science, vol. 3273, pp. 27–40. Springer, Berlin, Heidelberg (2004)
Clarke, S., Walker, R.J.: Generic aspect-oriented design with THEME/UML. In: Aspect-Oriented Software Development, pp. 425–458 Addison-Wesley, Boston (2005)
Farinha, J., Ramos, P.: Extending UML templates towards computability. In: Modelsward 2015, 3rd International Conference on Model-driven Engineering and Software Development, SCITEPRESS (2015)
France, R.B., et al.: A UML-based Pattern specification technique. IEEE Trans. Softw. Eng. 30(3), 193–206 (2004)
OMG Consortium: OMG Unified Modeling Language (UML), Superstructure, v2.4.1. http://www.omg.org/spec/uml/2.4.1/ (2012)
Vanwormhoudt, G., et al.: Aspectual templates in uml (2013)
Wimmer, M., et al.: A survey on UML-based aspect-oriented design modeling. ACM Comput. Surv. 43(4), 1–33 (2011)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix: OCL Formulation of Functional Conformance
Appendix: OCL Formulation of Functional Conformance
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Farinha, J., Ramos, P. (2015). Computability Assurance for UML Template Binding. In: Desfray, P., Filipe, J., Hammoudi, S., Pires, L. (eds) Model-Driven Engineering and Software Development. MODELSWARD 2015. Communications in Computer and Information Science, vol 580. Springer, Cham. https://doi.org/10.1007/978-3-319-27869-8_11
Download citation
DOI: https://doi.org/10.1007/978-3-319-27869-8_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-27868-1
Online ISBN: 978-3-319-27869-8
eBook Packages: Computer ScienceComputer Science (R0)