Package com.opengamma.master.exchange

Examples of com.opengamma.master.exchange.ExchangeMaster.update()


    final ExchangeSearchResult result = master.search(request);
    if (result.getFirstDocument() != null) {
      //System.out.println("Updating " + exchange.getName());
      final ExchangeDocument document = result.getFirstDocument();
      document.setExchange(exchange);
      master.update(document);
    } else {
      //System.out.println("Adding " + exchange.getName());
      master.add(new ExchangeDocument(exchange));
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.