You can view the issue detail at the following URL:
<http://nagoya.apache.org/scarab/issues/id/TRQS49>
Type : Defect
Issue Id : TRQS49
Reported by: Gandulf Kohlweiss
[EMAIL PROTECTED] - ([EMAIL PROTECTED])
Details:
Summary: Generated Code for subclasses (baseClass=xyz) doesn't compile
Description: The Code generation for subclasses creates Methods which cannot be
overriden in the subclass ( copy(), getPeer() ).
The cause for this is, that the return type for both of these are different.
Rdf.java:
public RdfPeer getPeer();
SubRdf.java:
public SubRdfPeer getPeer();
Since SubRdf is an subclass of Rdf and overrides the methods of Rdf the return types
must be the same or a Subclass of them, which SubRdfPeer isn't.
The schema i used to illustrate the error is attached, it bases on the newapp example.
I also tried to define the basePeer as an subclass of Rdf which didn't work either, I
just get more compile errors...
Status: New
Database: MySQL
Operating system: Windows
Priority: High
--
To unsubscribe, e-mail: <mailto:turbine-torque-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-dev-help@;jakarta.apache.org>