Re: Thanks, and back to enums

From: Todd O'Bryan (toddobrya..ac.com)
Date: Mon Apr 05 2004 - 20:40:17 EDT

  • Next message: Mike Kienenberger: "Re: Thanks, and back to enums"

    Hmm...we both seem to have arrived at similar solutions independently.

    Which begs the question: Should it be in the API?

    Sorry if I'm rehashing a previously hashed issue...

    Todd

    On Apr 5, 2004, at 12:47 PM, Mike Kienenberger wrote:

    > Of course, for those methods you use all the time, you can create even
    > more
    > specific accessors on specific Entities. For example, here's one I
    > have on
    > my User entity:
    >
    > public static User getUserForUserName(DataContext aDataContext, String
    > userName)
    >
    > {
    >
    > return (User)objectMatchingKeyAndValue(aDataContext, User.class,
    > "userName", userName);
    >
    > }
    >



    This archive was generated by hypermail 2.0.0 : Mon Apr 05 2004 - 20:40:42 EDT