Search in sources :

Example 1 with RecordMetaData

use of org.fusesource.camel.component.sap.model.rfc.RecordMetaData in project quickstarts by jboss-switchyard.

the class ConnectionInfoMetadataProducer method createConnectionInfo.

@Produces
@Named("connectionInfo")
public RecordMetaData createConnectionInfo(@Named("connectionInfoFieldMetaData") List<FieldMetaData> connectionInfoFieldMetaData) {
    RecordMetaData conninfo = RfcFactory.eINSTANCE.createRecordMetaData();
    conninfo.setName("CONNECTION_INFO");
    conninfo.setRecordFieldMetaData(connectionInfoFieldMetaData);
    return conninfo;
}
Also used : RecordMetaData(org.fusesource.camel.component.sap.model.rfc.RecordMetaData) Named(javax.inject.Named) Produces(javax.enterprise.inject.Produces)

Example 2 with RecordMetaData

use of org.fusesource.camel.component.sap.model.rfc.RecordMetaData in project quickstarts by jboss-switchyard.

the class FlightInfoMetadataProducer method createFlightInfo.

@Produces
@Named("flightInfo")
public RecordMetaData createFlightInfo(@Named("flightInfoFieldMetaData") List<FieldMetaData> flightInfoFieldMetaData) {
    RecordMetaData flightinfo = RfcFactory.eINSTANCE.createRecordMetaData();
    flightinfo.setName("FLTINFO_STRUCTURE");
    flightinfo.setRecordFieldMetaData(flightInfoFieldMetaData);
    return flightinfo;
}
Also used : RecordMetaData(org.fusesource.camel.component.sap.model.rfc.RecordMetaData) Named(javax.inject.Named) Produces(javax.enterprise.inject.Produces)

Aggregations

Produces (javax.enterprise.inject.Produces)2 Named (javax.inject.Named)2 RecordMetaData (org.fusesource.camel.component.sap.model.rfc.RecordMetaData)2