Examples of keySet()


Examples of org.camunda.bpm.engine.impl.core.variable.VariableMapImpl.keySet()

      formFieldHandler.handleSubmit(variableScope, propertiesCopy, properties);
    }

    // any variables passed in which are not handled by form-fields or form
    // properties are added to the process as variables
    for (String propertyId: propertiesCopy.keySet()) {
      variableScope.setVariable(propertyId, propertiesCopy.getValueTyped(propertyId));
    }

    fireFormPropertyHistoryEvents(properties, variableScope);
  }

Examples of org.camunda.bpm.engine.variable.VariableMap.keySet()

  public Map<String, VariableValueDto> getVariables(boolean deserializeValues) {

    VariableMap variables = getVariableEntities(deserializeValues);

    Map<String, VariableValueDto> values = new HashMap<String, VariableValueDto>();
    for (String variableName : variables.keySet()) {
      VariableValueDto valueDto = VariableValueDto.fromTypedValue(variables.getValueTyped(variableName));
      values.put(variableName, valueDto);
    }

    return values;

Examples of org.castor.cache.Cache.keySet()

    }

    public void testKeySet() {
        Cache cache = initialize();

        Set set = cache.keySet();
       
        assertEquals(3, set.size());
        assertTrue(set.contains("first key"));
        assertTrue(set.contains("second key"));
        assertTrue(set.contains("third key"));

Examples of org.castor.core.util.IdentityMap.keySet()

        map.put(key1, "value 1");
        map.put(key2, "value 2");
        map.put(key3, "value 3");
       
        Set set = map.keySet();
        assertTrue(set.size() == 3);
       
        Iterator iter = set.iterator();
        while (iter.hasNext()) {
            Object test = iter.next();

Examples of org.clapper.util.misc.PropertiesMap.keySet()

        System.out.println ("---------------------------------------" +
                            "---------------------------------------");
        System.out.println ("*** Looping over properties by key set.");
        System.out.println ("---------------------------------------" +
                            "---------------------------------------");
        for (String key : map.keySet())
        {
            buf.clear();
            buf.append (map.get (key));
            buf.encodeMetacharacters();
            System.out.println (key + "=" + buf.toString());

Examples of org.eclipse.bpel.common.extension.model.ExtensionMap.keySet()

          break;
 
        case Notification.REMOVING_ADAPTER :
       
          ExtensionMap map = (ExtensionMap) notification.getNotifier();   
          Set extendedObjects = map.keySet();
         
          for (Iterator iter = extendedObjects.iterator(); iter.hasNext();) {
            EObject element = (EObject) iter.next();
           
            List remove = new BasicEList();

Examples of org.eclipse.emf.common.util.EList.keySet()

                    OutputDataType output = encodeOutput(key, outputParam, mimeType, odt.isAsReference());
                    processOutputs.getOutput().add(output);
                }
            } else {
                // encode all as inline for the moment
                for (String key : outputs.keySet()) {
                    Parameter<?> outputParam = resultInfo.get(key);
                    OutputDataType output = encodeOutput(key, outputParam, null, false);
                    processOutputs.getOutput().add(output);
                }
            }

Examples of org.eclipse.emf.common.util.EMap.keySet()

            ((ChangeSummaryImpl) changeSummary).summarize();
        ChangeDescription changeDescription = (ChangeDescription) changeSummary;
        Iterator createdDataObjects = changeDescription.getObjectsToDetach().iterator();
        deletedDataObjects = changeDescription.getObjectsToAttach();
        EMap objectChanges = changeDescription.getObjectChanges();
        modifiedDataObjects = objectChanges.keySet(); // may contain DO(s) from createdDataObjects and/or deletedDataObjects

        /*
         * 6-2. Prepare to compute (X)Path
         *  input: changeSummary
         *  output: rootResource

Examples of org.eclipse.persistence.sessions.DatabaseRecord.keySet()

                Object records = databaseRecords.get(recordIndex);
               
                if (records instanceof DatabaseRecord) {
                    DatabaseRecord dRecords = (DatabaseRecord) records;
                   
                    for (Object dRecord : dRecords.keySet()) {
                        Vector<DatabaseRecord> blah = (Vector<DatabaseRecord>) ((Vector) dRecords.get(dRecord)).get(0);
                       
                        System.out.println("blah is:" + blah.getClass());
                        //Vector<DatabaseRecord> blah = (Vector<DatabaseRecord>) bb.get(0);
                        //results.add(buildObjectsFromRecords(blah, getSQLResultSetMappings().get(recordIndex)));

Examples of org.exoplatform.portal.config.model.Properties.keySet()

        }

        Properties properties = new Properties();
        properties.putAll(attributes);

        for (String key : properties.keySet()) {
            if (key.equals(Site.AttributeKeys.SHOW_PORTLET_INFO_BAR.getName())) {
                String value = properties.get(key);
                boolean show = Boolean.parseBoolean(value);
                if (show) {
                    properties.put(key, "1");
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.