Abstract
Implementation of libraries that can handle bi-directional associations today requires a simple code generator. This code generator could be eliminated if the programming languages supported a new keyword described in this proposal.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
This is only a temporary arrangement; we will show later that we really do not need this keyword.
- 2.
Aggregate is another name for OneToMany bi-directional association, one of the most frequently occurring relations. This example shows its implementation based on intrusive linked lists.
- 3.
With Aggregate, such a situation is hard to imagine; the next three lines would not be the most efficient model.
- 4.
This is all Java code; in C++, we can use Java classes multiple inheritance.
References
InCode Library (2004) http://www.codefarms.com/incode. Accessed 19 Apr 2013
Persistent Pointer Factory (1997) http://www.codefarms.com/ppf. Accessed 19 Apr 2013
Soukup J (1995) Implementing patterns. In: Coplien JO, Schmidt DC (eds) Pattern languages of program design. Addison-Wesley, p 395–415
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2014 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Soukup, J., Soukup, M. (2014). Proposal to Add a Keyword to All OO Languages. In: Serialization and Persistent Objects. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-39323-5_8
Download citation
DOI: https://doi.org/10.1007/978-3-642-39323-5_8
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-39322-8
Online ISBN: 978-3-642-39323-5
eBook Packages: Computer ScienceComputer Science (R0)