DocumentCode
1370673
Title
Respectful type converters
Author
Wing, Jeannette M. ; Ockerbloom, John
Author_Institution
Dept. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA, USA
Volume
26
Issue
7
fYear
2000
fDate
7/1/2000 12:00:00 AM
Firstpage
579
Lastpage
593
Abstract
In converting an object of one type to another, we expect some of the original object´s behavior to remain the same and some to change. How can we state the relationship between the original object and converted object to characterize what information is preserved and what is lost after the conversion takes place? We answer this question by introducing the new relation, respects, and say that a type converter function C:A→B respects a type T. We formally define respects in terms of the Liskov and Wing behavioral notion of subtyping; types A and B are subtypes of T. We explain in detail the applicability of respectful type converters in the context of the Typed Object Model (TOM) Conversion Service, built at Carnegie Mellon and used on a daily basis throughout the world. We also briefly discuss how our respects relation addresses a similar question in two other contexts: type evolution and interoperability
Keywords
object-oriented programming; type theory; Typed Object Model; interoperability; respectful type converters; respects; subtyping; type converter function; type converters; type evolution; Context modeling; Context-aware services; Displays; HTML; Helium; Image converters; Information retrieval; Internet; Object oriented modeling; Web sites;
fLanguage
English
Journal_Title
Software Engineering, IEEE Transactions on
Publisher
ieee
ISSN
0098-5589
Type
jour
DOI
10.1109/32.859529
Filename
859529
Link To Document