[forge-issues] [JBoss JIRA] (FORGE-1401) What does --primitive do ?
George Gastaldi (JIRA)
issues at jboss.org
Tue Dec 31 11:11:32 EST 2013
[ https://issues.jboss.org/browse/FORGE-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933308#comment-12933308 ]
George Gastaldi commented on FORGE-1401:
----------------------------------------
This is supposed to be used when the typeName is a wrapper class but you intend to use the primitive version of it.
Eg: {{jpa-new-field --typeName Integer --named someNumber --primitive --entity Customer}}
will create a
private int someNumber; with its getters and setters.
> What does --primitive do ?
> --------------------------
>
> Key: FORGE-1401
> URL: https://issues.jboss.org/browse/FORGE-1401
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
>
> The {{jpa-new-field}} has a {{--primitive}} attribute but I don't know its usage. First I thought it was the primitive datatype (int, float...) but this is the {{--typeName}}.
> {code}
> [PurchaseOrder.java]$ jpa-new-field
> --typeName --named --lob --relationshipType --entity --length --primitive
> {code}
--
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