Examples of removePropertyValue()


Examples of org.springframework.beans.MutablePropertyValues.removePropertyValue()

      pvs.addPropertyValues(getJobDetailDataMap(bundle));
      pvs.addPropertyValues(getTriggerDataMap(bundle));
      if (this.ignoredUnknownProperties != null) {
        for (String propName : this.ignoredUnknownProperties) {
          if (pvs.contains(propName) && !bw.isWritableProperty(propName)) {
            pvs.removePropertyValue(propName);
          }
        }
        bw.setPropertyValues(pvs);
      }
      else {
View Full Code Here

Examples of org.springframework.beans.MutablePropertyValues.removePropertyValue()

      pvs.addPropertyValues(bundle.getTrigger().getJobDataMap());
      if (this.ignoredUnknownProperties != null) {
        for (int i = 0; i < this.ignoredUnknownProperties.length; i++) {
          String propName = this.ignoredUnknownProperties[i];
          if (pvs.contains(propName) && !bw.isWritableProperty(propName)) {
            pvs.removePropertyValue(propName);
          }
        }
        bw.setPropertyValues(pvs);
      }
      else {
View Full Code Here

Examples of org.springframework.beans.MutablePropertyValues.removePropertyValue()

      pvs.addPropertyValues(bundle.getTrigger().getJobDataMap());
      if (this.ignoredUnknownProperties != null) {
        for (int i = 0; i < this.ignoredUnknownProperties.length; i++) {
          String propName = this.ignoredUnknownProperties[i];
          if (pvs.contains(propName) && !bw.isWritableProperty(propName)) {
            pvs.removePropertyValue(propName);
          }
        }
        bw.setPropertyValues(pvs);
      }
      else {
View Full Code Here

Examples of org.springframework.beans.MutablePropertyValues.removePropertyValue()

                while(iter.hasNext()) {
                    String[] properties = iter.next();
                    if(properties.length == 1) {

                        //先移除
                        propertyValues.removePropertyValue(properties[0]);

                        //如果需要替换,替换掉值(只支持基本属性)
                        if(this.replaceBeanProperties != null) {
                            String key = beanName + "@" + properties[0];
                            if(this.replaceBeanProperties.containsKey(key)) {
View Full Code Here

Examples of org.springframework.beans.MutablePropertyValues.removePropertyValue()

                wrapper.setPropertyValues(pvs, true);
            } else {
                for (String propName : this.ignoredUnknownProperties) {
                    if (pvs.contains(propName) && !wrapper.isWritableProperty(propName)) {

                        pvs.removePropertyValue(propName);
                    }
                }
                wrapper.setPropertyValues(pvs);
            }
        }
View Full Code Here

Examples of org.springframework.beans.MutablePropertyValues.removePropertyValue()

      pvs.addPropertyValues(bundle.getJobDetail().getJobDataMap());
      pvs.addPropertyValues(bundle.getTrigger().getJobDataMap());
      if (this.ignoredUnknownProperties != null) {
        for (String propName : this.ignoredUnknownProperties) {
          if (pvs.contains(propName) && !bw.isWritableProperty(propName)) {
            pvs.removePropertyValue(propName);
          }
        }
        bw.setPropertyValues(pvs);
      }
      else {
View Full Code Here

Examples of org.springframework.beans.MutablePropertyValues.removePropertyValue()

      pvs.addPropertyValues(bundle.getJobDetail().getJobDataMap());
      pvs.addPropertyValues(bundle.getTrigger().getJobDataMap());
      if (this.ignoredUnknownProperties != null) {
        for (String propName : this.ignoredUnknownProperties) {
          if (pvs.contains(propName) && !bw.isWritableProperty(propName)) {
            pvs.removePropertyValue(propName);
          }
        }
        bw.setPropertyValues(pvs);
      }
      else {
View Full Code Here

Examples of org.springframework.beans.MutablePropertyValues.removePropertyValue()

            if (this.ignoredUnknownProperties == null) {
                wrapper.setPropertyValues(pvs, true);
            } else {
                for (String propName : this.ignoredUnknownProperties) {
                    if (pvs.contains(propName) && !wrapper.isWritableProperty(propName)) {
                        pvs.removePropertyValue(propName);
                    }
                }
                wrapper.setPropertyValues(pvs);
            }
        }
View Full Code Here

Examples of org.wso2.carbon.registry.core.Resource.removePropertyValue()

        r1.addProperty("p1", "v1");
        r1.addProperty("p1", "v2");
        registry.put("/props/t2/r1", r1);

        Resource r1e1 = registry.get("/props/t2/r1");
        r1e1.removePropertyValue("p1", "v1");
        registry.put("/props/t2/r1", r1e1);

        Resource r1e2 = registry.get("/props/t2/r1");

        assertFalse("Property is not removed.", r1e2.getPropertyValues("p1").contains("v1"));
View Full Code Here

Examples of org.wso2.carbon.registry.core.Resource.removePropertyValue()

            /* remove owner from viewer's pending requests list */
            viewerResourcePath = viewerResourcePath +
                                 SocialImplConstants.PENDING_RELATIONSHIP_REQUEST_PATH;
            if (registry.resourceExists(viewerResourcePath)) {
                Resource resource = registry.get(viewerResourcePath);
                resource.removePropertyValue(SocialImplConstants.RELATIONSHIP_REQUESTS_PROPERTY,
                                             owner);
                registry.put(viewerResourcePath, resource);
            }
        } catch (RegistryException e) {
            log.error(e.getMessage(), e);
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.