Examples of addValue()


Examples of com.opengamma.engine.view.impl.InMemoryViewResultModel.addValue()

   
    InMemoryViewResultModel resultModel = constructImpl();
    for (Map.Entry<String, ViewCalculationResultModel> configurationEntry : configurationMap.entrySet()) {
      for (ComputationTargetSpecification targetSpec : configurationEntry.getValue().getAllTargets()) {
        for (ComputedValueResult value : configurationEntry.getValue().getAllValues(targetSpec)) {
          resultModel.addValue(configurationEntry.getKey(), value);
        }
      }
    }
   
    resultModel.setViewProcessId(viewProcessId);
View Full Code Here

Examples of com.opengamma.util.db.DbMapSqlParameterSource.addValue()

    args.addValue("value_specification_id", valueSpecificationId);
    args.addValue("function_unique_id", functionUniqueId);
    args.addValue("computation_target_id", computationTargetId);
    args.addValue("run_id", riskRunId);
    args.addTimestamp("eval_instant", evalInstant);
    args.addValue("compute_node_id", computeNodeId);
    return args;
  }
 
  private SqlParameterSource convertSuccessToFailure(SqlParameterSource successArgs) {
    return getFailureArgs(
View Full Code Here

Examples of com.positive.charts.data.DefaultKeyedValues.addValue()

    for (int i = 0; i < data.getItemCount(); i++) {
      final Number v = data.getValue(i);
      if (v != null) {
        runningTotal = runningTotal + v.doubleValue();
      }
      result.addValue(data.getKey(i), new Double(runningTotal / total));
    }
    return result;
  }

}
View Full Code Here

Examples of com.positive.charts.data.category.DefaultCategoryDataset.addValue()

    if (rowData == null) {
      throw new IllegalArgumentException("Null 'rowData' argument.");
    }
    final DefaultCategoryDataset result = new DefaultCategoryDataset();
    for (int i = 0; i < rowData.getItemCount(); i++) {
      result.addValue(rowData.getValue(i), rowKey, rowData.getKey(i));
    }
    return result;

  }
View Full Code Here

Examples of com.sun.grizzly.util.http.MimeHeaders.addValue()

            MessageBytes vMB=null;
            isc &= 0xFF00;
            if(0xA000 == isc) {
                msg.getInt(); // To advance the read position
                hName = AjpConstants.headerTransArray[hId - 1];
                vMB=headers.addValue( hName );
            } else {
                // reset hId -- if the header currently being read
                // happens to be 7 or 8 bytes long, the code below
                // will think it's the content-type header or the
                // content-length header - SC_REQ_CONTENT_TYPE=7,
View Full Code Here

Examples of com.volantis.mcs.build.themes.definitions.values.ValueContainer.addValue()

                int intVal = Integer.parseInt(valStr);
                IntegerValue value = definitionsFactory.createIntegerValue();
                value.setInteger(intVal);
                ValueContainer container =
                        (ValueContainer) findObject(ValueContainer.class);
                container.addValue(value);
            } catch (NumberFormatException nfe) {
                System.out.println("Invalid number: '" + valStr + "'");
            }
        } else if (name.equals("lengthValue")) {
            String valStr = element.getText();
View Full Code Here

Examples of de.innovationgate.wga.modules.options.PredefinedValuesOptionType.addValue()

        readerProfileCreation.setOptional(true);
        readerProfileCreation.setDefaultValue(Boolean.TRUE.toString());
        options.addOption(readerProfileCreation);
       
        PredefinedValuesOptionType hqlFetchType = new PredefinedValuesOptionType(_bundleLoader, WGDatabaseImpl.COPTION_HQL_FETCH_TYPE);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_STRAIGHT);
        LocalizedOptionDefinition hqlFetch = new LocalizedOptionDefinition(WGDatabaseImpl.COPTION_HQL_FETCH_TYPE, hqlFetchType, _bundleLoader);
        hqlFetch.setOptional(true);
        hqlFetch.setExpert(true);
        hqlFetch.setDefaultValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.TMLFormField.addValue()

    return _form.getformid();
  }

    public void registerHashedPasswordField(String fieldname, String hashedValue) {
        TMLFormField field = new TMLFormField(fieldname);
        field.addValue(hashedValue);
        _form.getforminfo().addHashedPasswordField(field);
       
    }

}
View Full Code Here

Examples of de.intranda.commons.chart.results.DataRow.addValue()

        //setting row name with date/time extraction based on the group

        dataRow.setName(new Converter(objArr[1]).getString() + "");

        dataRow.addValue(Helper.getTranslation("storageDifference"),
            (new Converter(objArr[0]).getGB()));

      } catch (Exception e) {
        dataRow.addValue(e.getMessage(), new Double(0));
      }
View Full Code Here

Examples of de.lessvoid.nifty.loaderv2.types.EffectType.addValue()

  public EffectType create() {
    EffectType effectType = new EffectType();
    effectType.initFromAttributes(attributes);
    for (int i=0; i<effectValues.size(); i++) {
      effectType.addValue(effectValues.get(i));
    }
    return effectType;
  }
}
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.