[forge-issues] [JBoss JIRA] (FORGE-2246) Refactoring the JPA Commands

Antonio Goncalves (JIRA) issues at jboss.org
Tue Feb 17 11:29:49 EST 2015


     [ https://issues.jboss.org/browse/FORGE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Goncalves updated FORGE-2246:
-------------------------------------
    Description: 
The idea is to refactor the JPA commands (under {{org.jboss.forge.addon.javaee.jpa.ui}}) :

* Create a new {{org.jboss.forge.addon.javaee.jpa.ui.AbstractJPACommand}} that extends {{AbstractJavaEECommand}} and implements {{PrerequisiteCommandsProvider}}
** {{isProjectRequired}}
** {{getPrerequisiteCommands}}
** Add a method {{calculatePackage}}
* Refactor the classes
** They extend from {{AbstractJPACommand}}
** Rename them
*** {{NewEmbeddableCommand -> JPANewEmbeddableCommand

  was:
The idea is to refactor the JPA commands (under {{org.jboss.forge.addon.javaee.jpa.ui}}) :

* Create a new {{org.jboss.forge.addon.javaee.jpa.ui.AbstractJPACommand}} that extends {{AbstractJavaEECommand}}
** {{isProjectRequired}}
** {{getPrerequisiteCommands}}
** Add a method {{calculatePackage}}



> Refactoring the JPA Commands
> ----------------------------
>
>                 Key: FORGE-2246
>                 URL: https://issues.jboss.org/browse/FORGE-2246
>             Project: Forge
>          Issue Type: Sub-task
>          Components: UI - API
>            Reporter: Antonio Goncalves
>            Priority: Minor
>             Fix For: 2.x Future, 3.x Future
>
>
> The idea is to refactor the JPA commands (under {{org.jboss.forge.addon.javaee.jpa.ui}}) :
> * Create a new {{org.jboss.forge.addon.javaee.jpa.ui.AbstractJPACommand}} that extends {{AbstractJavaEECommand}} and implements {{PrerequisiteCommandsProvider}}
> ** {{isProjectRequired}}
> ** {{getPrerequisiteCommands}}
> ** Add a method {{calculatePackage}}
> * Refactor the classes
> ** They extend from {{AbstractJPACommand}}
> ** Rename them
> *** {{NewEmbeddableCommand -> JPANewEmbeddableCommand



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the forge-issues mailing list