Examples of ConfigDocument


Examples of com.opengamma.master.config.ConfigDocument

  public void setUp() {
    _testEmpty = new InMemoryConfigMaster(new ObjectIdSupplier("Test"));
    _testPopulated = new InMemoryConfigMaster(new ObjectIdSupplier("Test"));
    _item1 = ConfigItem.of(VAL1);
    _item1.setName("ONE");
    _item1 = (ConfigItem<ExternalId>) _testPopulated.add(new ConfigDocument(_item1)).getConfig();
    _item2 = ConfigItem.of(VAL2);
    _item2.setName("TWO");
    _item2 = (ConfigItem<ExternalId>) _testPopulated.add(new ConfigDocument(_item2)).getConfig();
    _item3 = ConfigItem.of(VAL3);
    _item3.setName("THREE");
    _item3 = (ConfigItem<ExternalIdBundle>) _testPopulated.add(new ConfigDocument(_item3)).getConfig();
    _item4 = ConfigItem.of(VAL4);
    _item4.setName("FOUR");
    _item4 = (ConfigItem<ExternalIdBundle>) _testPopulated.add(new ConfigDocument(_item4)).getConfig();
  }
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.