Package org.fusesource.camel.component.sap.model.rfc.impl

Examples of org.fusesource.camel.component.sap.model.rfc.impl.ServerDataStoreEntryImpl


    if (owner instanceof ServerDataStore) {
      isServerPaste = true;
      serverDataStore = (ServerDataStore) owner;
      CompoundCommand command = new CompoundCommand();
      for (Object value: values) {
        ServerDataStoreEntryImpl entry = (ServerDataStoreEntryImpl) value;
        command.append(AddCommand.create(editingDomain, owner, RfcPackage.Literals.SERVER_DATA_STORE__SERVER_DATA, entry.getValue()));
      }
      return command;
    } else if (owner instanceof DestinationDataStore) {
      isServerPaste = false;
      destinationDataStore = (DestinationDataStore) owner;
      CompoundCommand command = new CompoundCommand();
      for (Object value: values) {
        DestinationDataStoreEntryImpl entry = (DestinationDataStoreEntryImpl) value;
        command.append(AddCommand.create(editingDomain, owner, RfcPackage.Literals.DESTINATION_DATA_STORE__DESTINATION_DATA, entry.getValue()));
      }
      return command;
    }
    return null;
  }
View Full Code Here


    }
  }
 
  protected Command createRemoveValueCommand(Object value) {
    if (value instanceof ServerDataStoreEntryImpl) {
      ServerDataStoreEntryImpl entry = (ServerDataStoreEntryImpl) value;
      return RemoveCommand.create(editingDomain, entry.eContainer(), RfcPackage.Literals.SERVER_DATA_STORE__SERVER_DATA, entry.getValue());
    } else if (value instanceof DestinationDataStoreEntryImpl) {
      DestinationDataStoreEntryImpl entry = (DestinationDataStoreEntryImpl) value;
      return RemoveCommand.create(editingDomain, entry.eContainer(), RfcPackage.Literals.DESTINATION_DATA_STORE__DESTINATION_DATA, entry.getValue());
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.fusesource.camel.component.sap.model.rfc.impl.ServerDataStoreEntryImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.