import oracle.jbo.Row;
//interface
public String iterateRows(){
DCIteratorBinding itr =
ADFUtils.findIterator("ExampleVO1Iterator");
Row[] rows = (Row[]) itr.getAllRowsInRange();
String retval = "false";
for (int i = 0; i < rows.length; i++) {
System.out.println("inside
Iterator loop: value of Attribute is ****** "+rows[i].getAttribute("AttributeName"));
if
(rows[i].getAttribute("AttributeName").equals("OUT_LINE"))
{
retval = "true";
}
}
return
retval;
}
No comments:
Post a Comment