Skip to Content
avatar image
Former Member

user defined data type generated class

Hi

When defining a new data type in the local dictionary, one has to option of generating a representation class.

I have done this and indeed received the class in my app.

However, I fail to understand how I can use this class to retrieve values set in the data type.

Thank you for your assistance

Regadrs

yuval

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 15, 2010 at 02:29 PM

    Hello Y PEERY

    I am not clear which context you are talking about .

    Are you taking about simple type inside local dictonary ?

    or

    A project with data dictonary type ?

    (for webdynpro only)

    In both the case no need to deal with internal generated class, this is somethig which is requrired to framework itself , end developer not at all using /modifiying it.

    or

    Might you are dealing with EJB so in this case representation class is generated once we provide the basic(name , package etc) to it , further you can modify it according to your use.

    Please clarify

    BR

    Satish Kumar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kumar

      I WDJ you can define local types in the dictionary.

      Usually this kind of type is used to fill out dropdown lists or other UI elements.

      In the process of creating such data types you can also select whether you want to generate a java

      class to represent this data type. This class is now visibe to you wd controller. You may use it to get the values

      you assigned to this data ttype but not the description.

      My question: is it possible to read the description of each item in the list too?

      Regards

      yuval