E&S CVS Commit: PEAK - Partial refactoring of peak.model class hierarchy. XMI support has been

pje at eby-sarna.com pje at eby-sarna.com
Sun Dec 15 15:07:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Sun Dec 15 20:06:26 UTC 2002

Modified Files:
	PEAK/src/peak/model: structural.py

Log Message:
Partial refactoring of peak.model class hierarchy.  XMI support has been
moved to an abstract 'model.Namespace' class that 'model.Package' and
'model.Classifier' inherit from.  A separate Classifier subclass,
'model.Immutable', is now used to add immutability features.

This is barely the beginning of the refactoring, however.  A lot of
metadata class attributes need to be added to 'model.Namespace', and the
feature classes need to be cleaned up to work more on metadata and less
on hardcoded methods.  More relationship metadata is also needed, like
composition/aggregation info.  Features should be able to compute their
own XMI names based on package containment, and packages should be able
to find classes nested in inner packages (to support short-name lookups for
XMI 1.1).

There should also be a module of "primitive type" implementations for
things like Integer and String.  The parsing/formatting/conversion
signatures aren't entirely clear yet, though.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/model/structural.py.diff?r1=1.2&r2=1.3

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/model/structural.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list