You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Brent Daniel <br...@gmail.com> on 2006/02/15 19:47:01 UTC
[PATCH] Further migration to SDO2
The DAS still contains some references to EMF. This patch clears up a few
more.
Brent
Re: [PATCH] Further migration to SDO2
Posted by Frank Budinsky <fr...@ca.ibm.com>.
Hi Brent,
To get away from EMF, you should change things like this:
ChangeSummarySettingImpl setting =
(ChangeSummarySettingImpl) i
.next();
- if (setting.getFeature() instanceof EReference) {
+ if (setting.getFeature() instanceof ReferenceImpl) {
to:
ChangeSummary.Setting setting =
(ChangeSummary.Setting)i.next():
if (!setting.getProperty().getType().isDataType()) {
I think casting to SDO impl classes (like ReferenceImpl) is not much
better than referencing EMF.
Frank.
Brent Daniel <br...@gmail.com> wrote on 02/15/2006 01:47:01 PM:
> The DAS still contains some references to EMF. This patch clears up
> a few more.
>
> Brent
> [attachment "ecoreToSDO.txt" deleted by Frank Budinsky/Toronto/IBM]