/** * Allow the platform to handle the creation of the DOM record. * By default create a mapped record an assume it implements DOM as well. */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createMappedRecord(recordName); } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
/** * Allow the platform to handle the creation of the DOM record. * Creates an indexed record (mapped records are not supported). */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createIndexedRecord(recordName); } catch (ResourceException exception) { throw EISException.createException(exception); } }
/** * Allow the platform to handle the creation of the DOM record. * By default create a mapped record an assume it implements DOM as well. */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createMappedRecord(recordName); } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
/** * Allow the platform to handle the creation of the DOM record. * By default create a mapped record an assume it implements DOM as well. */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createMappedRecord(recordName); } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
/** * Allow the platform to handle the creation of the DOM record. * Creates an indexed record (mapped records are not supported). */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createIndexedRecord(recordName); } catch (ResourceException exception) { throw EISException.createException(exception); } }
/** * Create an indexed input record for this interaction. * Populate the data into the record from this interaction's arguments. */ public Record createInputRecord(EISAccessor accessor) { try { IndexedRecord record = accessor.getRecordFactory().createIndexedRecord(getInputRecordName()); for (int index = 0; index < getParameters().size(); index++) { Object parameter = getParameters().get(index); // Allow conversion of nested rows and collections. record.add(createRecordElement("", parameter, accessor)); } return record; } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
/** * Create an indexed input record for this interaction. * Populate the data into the record from this interaction's arguments. */ public Record createInputRecord(EISAccessor accessor) { try { IndexedRecord record = accessor.getRecordFactory().createIndexedRecord(getInputRecordName()); for (int index = 0; index < getParameters().size(); index++) { Object parameter = getParameters().get(index); // Allow conversion of nested rows and collections. record.add(createRecordElement("", parameter, accessor)); } return record; } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
/** * Create an indexed input record for this interaction. * Populate the data into the record from this interaction's arguments. */ public Record createInputRecord(EISAccessor accessor) { try { IndexedRecord record = accessor.getRecordFactory().createIndexedRecord(getInputRecordName()); for (int index = 0; index < getParameters().size(); index++) { Object parameter = getParameters().get(index); // Allow conversion of nested rows and collections. record.add(createRecordElement("", parameter, accessor)); } return record; } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
recordName = valuesRow.getFields().get(0).getTableName(); MappedRecord record = accessor.getRecordFactory().createMappedRecord(recordName); for (Iterator keysIterator = valuesRow.getFields().iterator(); keysIterator.hasNext();) {
recordName = valuesRow.getFields().get(0).getTableName(); MappedRecord record = accessor.getRecordFactory().createMappedRecord(recordName); for (Iterator keysIterator = valuesRow.getFields().iterator(); keysIterator.hasNext();) {
recordName = ((DatabaseField)valuesRow.getFields().get(0)).getTableName(); MappedRecord record = accessor.getRecordFactory().createMappedRecord(recordName); for (Iterator keysIterator = valuesRow.getFields().iterator(); keysIterator.hasNext();) {
record = (MappedRecord)createRecordElement(getInputRecordName(), getInputRow(), accessor); } else { record = accessor.getRecordFactory().createMappedRecord(getInputRecordName()); Object nestedRecord = createRecordElement(getInputResultPath(), getInputRow(), accessor); accessor.getEISPlatform().setValueInRecord(getInputResultPath(), nestedRecord, record, accessor); record = accessor.getRecordFactory().createMappedRecord(getInputRecordName()); for (int index = 0; index < getArgumentNames().size(); index++) { String parameterName = (String)getArgumentNames().get(index);
record = (MappedRecord)createRecordElement(getInputRecordName(), getInputRow(), accessor); } else { record = accessor.getRecordFactory().createMappedRecord(getInputRecordName()); Object nestedRecord = createRecordElement(getInputResultPath(), getInputRow(), accessor); accessor.getEISPlatform().setValueInRecord(getInputResultPath(), nestedRecord, record, accessor); record = accessor.getRecordFactory().createMappedRecord(getInputRecordName()); for (int index = 0; index < getArgumentNames().size(); index++) { String parameterName = (String)getArgumentNames().get(index);
record = (MappedRecord)createRecordElement(getInputRecordName(), getInputRow(), accessor); } else { record = accessor.getRecordFactory().createMappedRecord(getInputRecordName()); Object nestedRecord = createRecordElement(getInputResultPath(), getInputRow(), accessor); accessor.getEISPlatform().setValueInRecord(getInputResultPath(), nestedRecord, record, accessor); record = accessor.getRecordFactory().createMappedRecord(getInputRecordName()); for (int index = 0; index < getArgumentNames().size(); index++) { String parameterName = (String)getArgumentNames().get(index);