Town and Country Room
Thursday, 11:15, 20 minutes
Morten Telling Nielsen, University of Southern Denmark, Denmark
The film postulates the existence of a third kind of relationship between classes in strongly typed languages. The film takes offset in problems modeling some special situations, where both specialization and aggregation seems to fail (composition and association are here considered to be subtypes of aggregation, since they all are ?has a? relationships and they all work by one object having a reference variable to another object). I have named the relationship type "Parental inheritance". Parental inheritance is not a classic superclass/subclass relationship or an aggregation; it is an entity in its own right, with its own rules and ability to model the real world. Parental inheritance have features in common with both aggregation and specialization, but are closer related to the relationship between the static and the nonstatic contexts in languages like C++ or Java. The relationship also has similarities with tuppels of tables in relational databases that have foreign key references.