while( dataRowChanged.hasNext() ){
recordClass currentRow = (recordClass) dataRowChanged.next();
// materialize object
sample_facturaClass factura = new sample_facturaClass();
persistentObjectManagerClass pom = new persistentObjectManagerClass(configuration, log) ;
factura = (sample_facturaClass) pom.copy4( KMetaUtilsClass.getIntegralNumericValueFromString( (String) currentRow.getValueAt(6) ), factura.getClass() );
// update it
// OK box
String OKbox = (String) currentRow.getValueAt(0);
// will return ture or false for the checkbox
// not used in this example. This is a sample on how to read it
// DATE
factura.setFacDate(
KMetaUtilsClass.stringToDate(
KMetaUtilsClass.KDEFAULT_LONG_DATE_TIME_FORMAT, (String) currentRow.getValueAt(3) ) );
// STATUS
factura.setFacstatusId( KMetaUtilsClass.getIntegralNumericValueFromString( invoiceStatusProp.getProperty( (String) currentRow.getValueAt(4) ) ) );
// TOTAL
factura.setFacTotal( KMetaUtilsClass.getCurrencyNumericValueFromString( (String)currentRow.getValueAt(5) ) );
// save it
factura = (sample_facturaClass) pom.update4( KMetaUtilsClass.getIntegralNumericValueFromString( (String)currentRow.getValueAt(6) ), factura);
}