Summary: | 碩士 === 淡江大學 === 資訊管理學系 === 85 === Object relation is a critical topic in object-oriented
methodology. Whiletheir programming-interfaces and
implementation have not been well discussedyet. Therefore,
programmers in an OO-project still suffer from themanipulation
and maintenance of the relations among classes. In thisthesis, a
uniform protocol of relation interfaces is proposed to unifythe
programming style of relations as well as to encapsulate
theimplementation detail of relations. The coding of relation
interfaces are tedious. Moreover, the whole programusually has
to be re-coded when the implementation is changed. Therefore,
asoftware tool to generate relation interfaces is critical in
softwaredevelopment. RG, a CASE tool proposed in this thesis,
can automaticallygenerate all the necessary relation interfaces
from a simple relationdescription. By the assistance of RG, the
prototyping development inOO-methodology can practically take
the place of traditional waterfalldevelopment. The object-
relations can be classified into two distinct groups, namely,
fundamental relations and derived relations. Derived relations
are relationswhich are derived through operators such as
composition, union, intersection,and so on. The implementation
of derived relations are more tedious sincethe consistency
problem of derived relations must be carefully managed.RG can
also be invoked to generate the interfaces of derived relations.
In fact, the more complicated the over-all relations are, the
more superiorRG will be. The proposed CASE tool RG has been
successfully used in the development ofa maintenance system for
C++ programs.
|