Examples of entrySet()


Examples of org.persvr.data.Persistable.entrySet()

      else {
        target= targetId.getOrCreateTarget();
      }
      PersistableObject.checkSecurity(target, PermissionLevel.WRITE_LEVEL.level);

      for (Map.Entry<String,Object> oldEntry : target.entrySet(0)) {
        String oldKey = oldEntry.getKey();
        if (!object.containsKey(oldKey) && !oldKey.equals("parent"))
          target.delete(oldKey);
      }
      for (Map.Entry<String,Object> entry : object.entrySet()) {
View Full Code Here

Examples of org.python.core.PyDictionary.entrySet()

                        }
                        break;
                    case Jython:
                        engine.eval(defines + "\n" + script, context);
                        PyDictionary oJython = (PyDictionary) engine.get("result");
                        Iterator it = oJython.entrySet().iterator();
                        while (it.hasNext()) {
                            Map.Entry pairs = (Map.Entry) it.next();
                            page.getResultItems().put(pairs.getKey().toString(), pairs.getValue());
                        }
                        break;
View Full Code Here

Examples of org.quartz.JobDataMap.entrySet()

    public void populateNormalizedMessage(NormalizedMessage message, JobExecutionContext context)
        throws JobExecutionException, MessagingException {

        JobDetail detail = context.getJobDetail();
        JobDataMap dataMap = detail.getJobDataMap();
        for (Iterator iter = dataMap.entrySet().iterator(); iter.hasNext();) {
            Map.Entry entry = (Map.Entry) iter.next();
            String key = (String) entry.getKey();
            if (!key.equals(ServiceMixJob.COMPONENT_NAME) && !key.equals(ServiceMixJob.ENDPOINT_NAME)) {
                Object value = entry.getValue();
                message.setProperty(key, value);
View Full Code Here

Examples of org.rhq.core.domain.common.composite.SystemSettings.entrySet()

    @RequiredPermission(Permission.MANAGE_SETTINGS)
    public Properties getSystemConfiguration(Subject subject) {
        Properties copy = new Properties();

        SystemSettings settings = getUnmaskedSystemSettings(true);
        for (Map.Entry<SystemSetting, String> e : settings.entrySet()) {
            //transform the value back to the database format, because that's
            //what this method always returned.
            //Leave the password fields as they are though, because now (as of 4.10)
            //the passwords are stored obfuscated, but are kept clear in memory.
            //The legacy behavior was to store the values in clear text, too,
View Full Code Here

Examples of org.springframework.beans.factory.support.ManagedProperties.entrySet()

        // Add properties
        ManagedProperties hibernateProperties = (ManagedProperties) properties.getPropertyValue("hibernateProperties").getValue();

        if (hibernateProperties != null) {
            Properties configurationProperties = new Properties();
            for (Map.Entry<?, ?> entry : hibernateProperties.entrySet()) {
                TypedStringValue key = (TypedStringValue) entry.getKey();
                TypedStringValue value = (TypedStringValue) entry.getValue();

                configurationProperties.setProperty(key.getValue(), value.getValue());
            }
View Full Code Here

Examples of org.springframework.springfaces.mvc.model.SpringFacesModel.entrySet()

    if (resolveExpressions) {
      value = resolveExpressionIfNecessary(value);
    }
    if (value instanceof SpringFacesModel && expandModelHolder) {
      SpringFacesModel modelHolder = (SpringFacesModel) value;
      for (Map.Entry<String, Object> modelEntry : modelHolder.entrySet()) {
        addIfNotInModel(source, modelEntry.getKey(), modelEntry.getValue(), false, false);
      }
    } else {
      this.model.put(key, value);
    }
View Full Code Here

Examples of org.structr.core.property.PropertyMap.entrySet()

      PropertyMap properties = PropertyMap.inputTypeToJavaType(securityContext, type, propertySet);

      for (final GraphObject obj : results) {

        for (final Entry<PropertyKey, Object> attr : properties.entrySet()) {

          obj.setProperty(attr.getKey(), attr.getValue());

        }
View Full Code Here

Examples of org.syncany.database.VectorClock.entrySet()

    xmlOut.writeAttribute("name", databaseVersion.getClient());
   
    xmlOut.writeStartElement("vectorClock");

    VectorClock vectorClock = databaseVersion.getVectorClock();     
    for (Map.Entry<String, Long> vectorClockEntry : vectorClock.entrySet()) {
      xmlOut.writeEmptyElement("client");
      xmlOut.writeAttribute("name", vectorClockEntry.getKey());
      xmlOut.writeAttribute("value", vectorClockEntry.getValue());
    }
   
View Full Code Here

Examples of org.voltdb.utils.InMemoryJarfile.entrySet()

            }
        }
        boolean foundClasses = false;
        if (newClassBytes != null) {
            InMemoryJarfile newJarfile = new InMemoryJarfile(newClassBytes);
            for (Entry<String, byte[]> e : newJarfile.entrySet()) {
                String filename = e.getKey();
                if (!filename.endsWith(".class")) {
                    continue;
                }
                foundClasses = true;
View Full Code Here

Examples of org.waveprotocol.wave.model.document.operation.Attributes.entrySet()

      E node = substrate.asElement(currentContainer.getValue());
      Attributes oldAttributes = new AttributesImpl(substrate.getAttributes(node));
      // Iterate over oldAttributes here, not attributeMap, since we are modifying
      // the map underlying the latter.
      for (Map.Entry<String, String> attribute : oldAttributes.entrySet()) {
        String key = attribute.getKey();
        if (!newAttrs.containsKey(key)) {
          substrate.removeAttribute(node, attribute.getKey());
        }
      }
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.