Re: Some suggestions

From: Michael Gentry (blacknex..mail.com)
Date: Sun Aug 10 2008 - 09:49:10 EDT

  • Next message: Andrey Razumovsky (JIRA): "[jira] Updated: (CAY-1080) Support for copy/paste of entities/attributes/relationships"

    On Fri, Aug 8, 2008 at 10:17 AM, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > +1 for the pluggable naming engine, and making the first alternative
    > implementation to work like you described, i.e.:
    >
    > * drop the "to" from to-one relatinship names
    > * replace "Array" with "s" for to-many.
    > * use FK as a basis for to-one relationship name

    For a to-many, it isn't as simple as adding an "s" at the end for a
    to-many. At least not in English. For example, if you have a to-man
    to an Address object, you probably want "getAddresses" and not
    "getAddresss" as the method name.



    This archive was generated by hypermail 2.0.0 : Sun Aug 10 2008 - 09:51:32 EDT