[forge-issues] [JBoss JIRA] (FORGE-833) java new-field improvements

Ivan St. Ivanov (JIRA) issues at jboss.org
Sun Mar 23 05:39:12 EDT 2014


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

Ivan St. Ivanov updated FORGE-833:
----------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/forge/core/pull/423

    
> java new-field improvements
> ---------------------------
>
>                 Key: FORGE-833
>                 URL: https://issues.jboss.org/browse/FORGE-833
>             Project: Forge
>          Issue Type: Feature Request
>          Components: Builtin Plugins
>    Affects Versions: 1.2.2.Final
>            Reporter: George Gastaldi
>            Assignee: Ivan St. Ivanov
>              Labels: starter
>             Fix For: 2.x Future
>
>
> It should be possible to add getters and setters when a new field is created using the following command: 
> {code}
> java new-field --named partType --type ~.model.PartType --accessType PRIVATE --generateMutator --generateAccessor
> {code}
> Where:
> - named: The field name
> - type: the field type
> - accessModifier: The access modifier of this field: (PUBLIC,PRIVATE,PROTECTED,PACKAGE)
> - generateMutator: generate setter
> - generateAccessor: generate getter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list