cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Huss (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1607) [PATCH] add pluralize method to StringUtils for use in templates
Date Tue, 30 Aug 2011 15:11:38 GMT

     [ https://issues.apache.org/jira/browse/CAY-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Huss updated CAY-1607:
---------------------------

    Attachment: StringUtils pluralize.patch

> [PATCH] add pluralize method to StringUtils for use in templates
> ----------------------------------------------------------------
>
>                 Key: CAY-1607
>                 URL: https://issues.apache.org/jira/browse/CAY-1607
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1M2
>         Environment: 3.1-snapshot
>            Reporter: John Huss
>            Priority: Minor
>              Labels: patch
>         Attachments: StringUtils pluralize.patch
>
>
> It would be helpful to have pluralize method to use in the templates, primarily so methods
can be generated like this:
> Entity: Invoice
> public static List<Invoice> fetchInvoices(...)
> Entity: Bonus
> public static List<Bonus> fetchBonuses(...)
> This patch includes a rudimentary pluralizer method to support this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message