You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Robert Zeigler (JIRA)" <ji...@apache.org> on 2009/04/24 18:40:30 UTC

[jira] Created: (CAY-1212) User-editable subclass of an entity marked as "abstract" in the modeler should be declared abstract

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.


[jira] Commented: (CAY-1212) User-editable subclass of an entity marked as "abstract" in the modeler should be declared abstract

Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
    [ 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.