Skip to Content
0
Former Member
Oct 16, 2006 at 01:03 PM

Context STructure to GP output structure

20 Views

Hi All,

I have problems with adding an context structure to an output structure.

Defining Code in execution-method:

IGPStructureInfo outputStructure = technicalDescription.getOutputStructureInfo();
IGPStructureInfo structure = outputStructure.addStructure("UserStructure");
structure.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_0_N );
structure.addAttribute("UserID", IGPAttributeInfo.BASE_STRING);

The context structure is designed in the following way:

TableStructure
   -->USERID
   -->USERNAME

How can I add the values from the context to my output structure?

Thanks for valueable helps

Bye Steve