E&S CVS Commit: PEAK - Preliminary support for marshalling enumerations and primitive types from

pje at eby-sarna.com pje at eby-sarna.com
Wed Nov 20 16:34:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Wed Nov 20 21:33:22 UTC 2002

Modified Files:
	PEAK/src/peak/metamodels/uml: MetaModel.py
	PEAK/src/peak/metamodels/xmi: Reading.py
	PEAK/src/peak/model: api.py

Log Message:
Preliminary support for marshalling enumerations and primitive types from
strings (e.g. in XMI files).  The enumerations need a bit of improvement,
as right now they just do rather "raw" values.  I think there needs to be
a hook to make them some other kind of object.  We also need "toString()"
for output marshalling.  It also appears as though there are some issues
distinguishing between "PrimitiveType" fields and "DataType" fields, as
their handling in XMI appears different.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/metamodels/uml/MetaModel.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/metamodels/xmi/Reading.py.diff?r1=1.36&r2=1.37
http://cvs.eby-sarna.com/PEAK/src/peak/model/api.py.diff?r1=1.44&r2=1.45

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/metamodels/uml/MetaModel.py
cvs rdiff -r1.36 -r1.37 PEAK/src/peak/metamodels/xmi/Reading.py
cvs rdiff -r1.44 -r1.45 PEAK/src/peak/model/api.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