Java code-example to retrieve structure-values from a list of structs in extension

Java code-example to retrieve structure-values from a list of structs in extension

  
I do have a list of structures (list of STRUCT) with structure elements STRUCT.mytext and STRUCT.myinteger as input of a stored procedure and I like to retrieve the text- and integer-values within my Java-extension.
Does someone have a code exaple for this?

More specific, I'm able to get the values from structure elements of ONE structure. The problem is more how to retrieve individual structure-instances from the list so that I can continue the way I'm used to.
Hi Bas,

You mention a "stored procedure", but from your question I figure you're talking about an Action in an Extension?

What is your current code? What does it mean that you can only get "the values from one structure"? Are you talking about different structure with unknown attributes, or always the same structure? Is looping over the list the problem you are having? Etc.