cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Zeigler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1212) User-editable subclass of an entity marked as "abstract" in the modeler should be declared abstract
Date Tue, 05 May 2009 04:12:30 GMT

    [ https://issues.apache.org/jira/browse/CAY-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705892#action_12705892
] 

Robert Zeigler commented on CAY-1212:
-------------------------------------

Looked into this a bit.  What's odd, to me at least, is that the subclass template looks like
it should be putting in the abstract keyword when the entity is abstract. 
Makes me wonder if I've got classpath issues; I'll check on that.

> User-editable subclass of an entity marked as "abstract" in the modeler should be declared
abstract
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAY-1212
>                 URL: https://issues.apache.org/jira/browse/CAY-1212
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0M5
>            Reporter: Robert Zeigler
>            Assignee: Robert Zeigler
>            Priority: Minor
>
> Currently, if you declare an entity as abstract in the modeler, with "split" entity generation,
the following class signatures are generated:
> public abstract class _SuperClass extends ... {}
> public class SubClass extends _SuperClass {}
> Cayenne should also mark the subclass as abstract when the "abstract" checkbox is checked
in the modeler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message