Read values from IData array in JAVA

Hi
In following example I am going to loop over IData and read strings (name, year, age,…) from .

IData MyInputDataObject = IDataUtil.getIData( pipelineCursor, “MyInputDataObject” ); //maint cintainer
IDataCursor MyInputDataObjectCursor = MyInputDataObject.getCursor();
IData results = IDataUtil.getIDataArray( MyInputDataObjectCursor, “results” ); //secound container

Example for results object:
results[reults[0], …results[20]]
Each results Object contains few values. Example for results[0]: parameter1, parameter2,…parameter20 (name, age, year,… )

How do I read the strings (name , age, etc) for each results[i] object ?
The following code does not work and I get null for child object:
for(…){
IDataCursor child =results[i].getCursor();
IData Data = IDataUtil.getIData(child, “results”);
for(…){

}

}
What am I doing wrong?
Brg
Peter

I guess it should like…

for(…){
IDataCursor child =results[i].getCursor();
String name = IDataUtil.getString(child, “name”);


}

I tried everything but not this one!!
thnks