[
https://issues.apache.org/jira/browse/TUSCANY-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kelvin Goodson updated TUSCANY-1129:
------------------------------------
Fix Version/s: Java-SDO-Mx
Affects Version/s: (was: Java-SDO-Mx)
Java-SDO-M3
> Multiple Inheritance Broken In Generator Templates
> --------------------------------------------------
>
> Key: TUSCANY-1129
> URL: https://issues.apache.org/jira/browse/TUSCANY-1129
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Tools
> Affects Versions: Java-SDO-M3
> Reporter: Kelvin Goodson
> Priority: Minor
> Fix For: Java-SDO-Mx
>
> Attachments: GenMultipleInheritanceTestClasses.java,
> MemoryModel2JavaGenerator.java
>
>
> TUSCANY-521 exposed a consistent set of integer indices to API visible
> Properties, and a mapping to the internal EMF indices which had previously
> been exposed. Some effort was made to preserve the capacity to generate
> classes that exhibit multiple inheritance, but 1) it was not clear that
> multiple inheritance was unbroken, and 2) there was no way to describe
> multiple inheritance as input to the generator. The work that went into the
> TUSCANY-521 effort to permit generation of SDO classes that exhibit multiple
> inheritance will be attached here.
> Completion of this JIRA will require modification of the SDOClass.javajet
> file to ensure that the internal and external indices are used appropriately
> when the code path through the generator exercises the multiple inheritance
> features. Note that this code path also currently exhibits elements of the
> old generator pattern where EMF code appeared directly in the generated
> classes.
> Note also that the multiple inheritance case may cause discontinuous use of
> index constant values within a given class, hence the reason why the
> generated internalConverIndex() method is implemented with a switch
> statement rather than arithmetic.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]