@Named("exportParameterList")
public List<ListFieldMetaData> createExportParameterList(
@Named("flightInfo") RecordMetaData flightInfo,
@Named("connectionInfo") RecordMetaData connectionInfo ) {
List<ListFieldMetaData> exports = new ArrayList<ListFieldMetaData>();
ListFieldMetaData tripnumber = RfcFactory.eINSTANCE.createListFieldMetaData();
tripnumber.setName("TRIPNUMBER");
tripnumber.setType(DataType.NUM);
tripnumber.setByteLength(8);
tripnumber.setUnicodeByteLength(16);
exports.add(tripnumber);
ListFieldMetaData ticketPrice = RfcFactory.eINSTANCE.createListFieldMetaData();
ticketPrice.setName("TICKET_PRICE");
ticketPrice.setType(DataType.BCD);
ticketPrice.setByteLength(12);
ticketPrice.setUnicodeByteLength(12);
ticketPrice.setDecimals(4);
exports.add(ticketPrice);
ListFieldMetaData ticketTax = RfcFactory.eINSTANCE.createListFieldMetaData();
ticketTax.setName("TICKET_TAX");
ticketTax.setType(DataType.BCD);
ticketTax.setByteLength(12);
ticketTax.setUnicodeByteLength(12);
ticketTax.setDecimals(4);
exports.add(ticketTax);
ListFieldMetaData currency = RfcFactory.eINSTANCE.createListFieldMetaData();
currency.setName("CURRENCY");
currency.setType(DataType.CHAR);
currency.setByteLength(5);
currency.setUnicodeByteLength(10);
exports.add(currency);
ListFieldMetaData passform = RfcFactory.eINSTANCE.createListFieldMetaData();
passform.setName("PASSFORM");
passform.setType(DataType.CHAR);
passform.setByteLength(15);
passform.setUnicodeByteLength(30);
exports.add(passform);
ListFieldMetaData passname = RfcFactory.eINSTANCE.createListFieldMetaData();
passname.setName("PASSNAME");
passname.setType(DataType.CHAR);
passname.setByteLength(25);
passname.setUnicodeByteLength(50);
exports.add(passname);
ListFieldMetaData passbirth = RfcFactory.eINSTANCE.createListFieldMetaData();
passbirth.setName("PASSBIRTH");
passbirth.setType(DataType.DATE);
passbirth.setByteLength(8);
passbirth.setUnicodeByteLength(16);
exports.add(passbirth);
ListFieldMetaData fltinfo = RfcFactory.eINSTANCE.createListFieldMetaData();
fltinfo.setName("FLTINFO");
fltinfo.setType(DataType.STRUCTURE);
fltinfo.setRecordMetaData(flightInfo);
exports.add(fltinfo);
ListFieldMetaData conninfo = RfcFactory.eINSTANCE.createListFieldMetaData();
conninfo.setName("CONNINFO");
conninfo.setType(DataType.TABLE);
conninfo.setRecordMetaData(connectionInfo);
exports.add(conninfo);
return exports;
}