on 12-07-2011 9:14 AM
Hi experts,
I want to write an application that allows you to work on different tasks. The problem is that these tasks could include various input and output data. How can I resolve this DataObjects generic and receive all relevant information such as data type, value and name? How is that when the data are nested? You can also then resolve the structure and if so how?
Regards
Hi,
yes, you can do so. The interface common.sdo.DataObject provides methods to introspect the structure and determine the type of the properties. You might take a look at the RESTful service for the BPM API I published on CodeExchange:
Looking at the code in the repository you will definitely samples on how this can be achieved.
Hope this help you to start on what you are trying to achieve.
best regards,
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johannes,
you can specifically take a look into the class DataObjectTypeAdapter. It is querying information from a DataObject in a generic fashion by using the SDO API. You can find the class here:
Best regards,
Stefan
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.