Examples of addValue()


Examples of org.criticalfailure.torchlight.core.domain.entity.object.ObjectData.addValue()

                }
            }

            if(od != null) {
                if(ep.getParticipant() instanceof BasicModelObject) {
                    od.addValue("instance:" + ((BasicModelObject)ep.getParticipant()).getId());
                }
                else {
                    od.addValue("label:" + ep.getLabel());
                }
View Full Code Here

Examples of org.dbunit.database.statement.IPreparedBatchStatement.addValue()

                            if (!ignoreMapping.get(j))
                            {
                                Column column = columns[j];
                              try
                {
                                  statement.addValue(table.getValue(row, column.getColumnName()), column.getDataType());
                }
                                catch (TypeCastException e)
                {
                          throw new TypeCastException("Error casting value for table '" + table.getTableMetaData().getTableName()
                              +"' and column '" + column.getColumnName() + "'", e);
View Full Code Here

Examples of org.dmd.dmc.util.DmcUncheckedObject.addValue()

      if (designatedNameAttribute != null) {
        String type = obj.getSV("type");

        DmcUncheckedObject typeDef = typeDefs.get(type);

        typeDef.addValue("nameAttributeDef", name);

        // DebugInfo.debug("\n" + typeDef.toOIF(15));
      }
      if (designatedFilterAttribute != null) {
        String type = obj.getSV("type");
View Full Code Here

Examples of org.dspace.app.cris.statistics.bean.TwoKeyMap.addValue()

                for (StatisticDatasBeanRow row : myvalue.getLimitedDataTable())
                {                  
                    DSpaceObject item = DSpaceObject.find(context, getRelationObjectType(), Integer.parseInt(row.getLabel()));
//                    if (item != null)
                    {
                        labels.addValue(type, row.getLabel(), item);
                    }
                }
            }
        }
View Full Code Here

Examples of org.dspace.submit.util.SubmissionLookupPublication.addValue()

            throw new RuntimeException(exMsg);
        }

        String doi = XMLUtils.getElementValue(dataRoot, "doi");
        if (doi != null)
            record.addValue("doi", new StringValue(doi));

        String itemType = doi != null ? XMLUtils.getElementAttribute(dataRoot,
                "doi", "type") : "unspecified";
        if (itemType != null)
            record.addValue("doiType", new StringValue(itemType));
View Full Code Here

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttribute.addValue()

    TaskAttribute attribute = getTaskAttribute().getAttribute(RedmineAttribute.WATCHERS_ADD.getTaskKey());
    if (user!=null && attribute!=null) {
     
      String userId = ""+user.getId(); //$NON-NLS-1$
      if (!attribute.getValues().contains(userId) && !getTaskAttribute().getValues().contains(userId)) {
        attribute.addValue(userId);
       
        TableItem item = new TableItem(table, SWT.NONE);
        item.setText(COLUMN_IDX_ID, userId);
        item.setText(COLUMN_IDX_NAME, RedmineUtil.formatUserPresentation(user.getLogin(), user.getName()));
       
View Full Code Here

Examples of org.eobjects.analyzer.data.TransformedInputRow.addValue()

        Object[] output = tjb.getConfigurableBean().transform(resultRow);

        assert cols.size() == output.length;

        for (int i = 0; i < output.length; i++) {
          resultRow.addValue(cols.get(i), output[i]);
        }
      }

      result.add(resultRow);
      rowNumber++;
View Full Code Here

Examples of org.exist.storage.btree.BTree.addValue()

            btree.create((short) -1);

            String prefixStr = "KEY";
            for (int i = 1; i <= count; i++) {
                Value value = new Value(prefixStr + Integer.toString(i));
                btree.addValue(value, i);
            }
            btree.flush();

            OutputStreamWriter writer = new OutputStreamWriter(System.out);
            btree.dump(writer);
View Full Code Here

Examples of org.exist.storage.dom.DOMFile.addValue()

           
            // put 1000 values into the btree
            NodeId id;
            for (int i = 1; i < 1001; i++) {
              id = idFact.createInstance(i);
                domDb.addValue(txn, new NativeBroker.NodeRef(500, id), i);
            }
           
            IndexQuery idx = new IndexQuery(IndexQuery.GT, new NativeBroker.NodeRef(500, idFact.createInstance(800)));
            domDb.remove(txn, idx, null);
           
View Full Code Here

Examples of org.exoplatform.portal.application.Preference.addValue()

      ArrayList<Preference> prefs = new ArrayList<Preference>();
      for (int i = 0; i < 5; i++)
      {
         Preference pref = new Preference();
         pref.setName("name" + i);
         pref.addValue("value" + i);
         prefs.add(pref);
      }

      //
      PortletPreferences portletPreferences = new PortletPreferences();
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.