Examples of DeltaDefinition


Examples of com.opengamma.engine.view.DeltaDefinition

    deltaModel.setViewProcessId(result.getViewProcessId());
    if (previousResult != null) {
      deltaModel.setPreviousCalculationTime(previousResult.getCalculationTime());
    }
    for (String calcConfigName : result.getCalculationConfigurationNames()) {
      final DeltaDefinition deltaDefinition = viewDefinition.getCalculationConfiguration(calcConfigName).getDeltaDefinition();
      final ViewCalculationResultModel resultCalcModel = result.getCalculationResult(calcConfigName);
      final ViewCalculationResultModel previousCalcModel = previousResult != null ? previousResult.getCalculationResult(calcConfigName) : null;
      for (ComputationTargetSpecification targetSpec : resultCalcModel.getAllTargets()) {
        computeDeltaModel(deltaDefinition, deltaModel, targetSpec, calcConfigName, previousCalcModel, resultCalcModel);
      }
View Full Code Here

Examples of com.opengamma.engine.view.DeltaDefinition

  @SuppressWarnings("unchecked")
  @Override
  public DeltaDefinition buildObject(FudgeDeserializer deserializer, FudgeMsg message) {
    FudgeField fudgeField = message.getByName(NUMBER_COMPARER_KEY);
    DeltaDefinition deltaDefinition = new DeltaDefinition();
    if (fudgeField != null) {
      deltaDefinition.setNumberComparer(deserializer.fieldValueToObject(DeltaComparer.class, fudgeField));
    }
    return deltaDefinition;
  }
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.