[JBoss JIRA] (FORGE-833) java new-field improvements
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-833?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-833:
----------------------------------
Comment: was deleted
(was: named should be another option too, so it should be possible to create a field like:
{code}
java new-field --named partType --type ~.model.PartType --accessType PRIVATE --asJavaBean
{code})
> 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: George Gastaldi
> Labels: starter
> Fix For: 1.2.3.Final
>
>
> 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 --asJavaBean
> {code}
> Where:
> - named: The field name
> - type: the field type
> - accessModifier: The access modifier of this field: (PUBLIC,PRIVATE,PROTECTED,PACKAGE)
> - asJavaBean: generate getters and setters
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-833) java new-field should have an option to generate getter and setter
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-833?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-833:
----------------------------------
Description:
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 --asJavaBean
{code}
Where:
- named: The field name
- type: the field type
- accessModifier: The access modifier of this field: (PUBLIC,PRIVATE,PROTECTED,PACKAGE)
- asJavaBean: generate getters and setters
was:
It should be possible to add getters and setters when a new field is created using the following command:
{code}
java new-field 'private String fieldName'
{code}
> java new-field should have an option to generate getter and setter
> ------------------------------------------------------------------
>
> 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: George Gastaldi
> Labels: starter
> Fix For: 1.2.3.Final
>
>
> 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 --asJavaBean
> {code}
> Where:
> - named: The field name
> - type: the field type
> - accessModifier: The access modifier of this field: (PUBLIC,PRIVATE,PROTECTED,PACKAGE)
> - asJavaBean: generate getters and setters
--
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
11 years, 8 months