code: public void updatePropertyInMap(Map<String, CmsClientProperty> props) {
  
          CmsClientProperty prop = props.get(getName());
          if (prop == null) {
              prop = new CmsClientProperty(getName(), "", "");
              props.put(getName(), prop);
          }
          if (isStructureValue()) {
              prop.setStructureValue(getValue());
          } else {
              prop.setResourceValue(getValue());
          }
      }
docs: Helper method for applying the change to a property map.<p>
  
  @param props a map of properties