Re: Scalar Types

From: Jürgen Saar (jsaa..eb.de)
Date: Thu Feb 03 2005 - 07:40:18 EST

  • Next message: JR Ruggentaler: "Cayenne DataContext plus Axis session"

    I've enhanced the velocity template, to generate
    some more setter methods. (see attachment)

    > > I noticed in the mapping tool that there are only choices for object
    > > types (ie. Integer, Boolean, String). I didn't see any scalars (ie. int,
    > > char, boolean). When I searched the documentation and newsgroup this
    > > never seemed to come up. Are scalars supported, and if not, what is the
    > > common idiom? Do I write scalar getters and setters in my subclass? I
    > > tend to want to map properties that are nullable as objects (ie.
    > > Boolean), and those that are not nullable as scalars (ie. boolean).
    >
    > Yes, getter and setters is the way to go.

    ______________________________________________________________
    Verschicken Sie romantische, coole und witzige Bilder per SMS!
    Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193




    This archive was generated by hypermail 2.0.0 : Thu Feb 03 2005 - 07:40:24 EST