docs: private Object processPropertyValue(Entity entity, String propName, final String dataType, final String syntax, Object ldapValue) throws WIMException {
          if (DATA_TYPE_STRING.equals(dataType)) {
              boolean octet = LDAP_ATTR_SYNTAX_OCTETSTRING.equalsIgnoreCase(syntax);
              return getString(octet, ldapValue);
          } else if (DATA_TYPE_DATE_TIME.equals(dataType)) {
              return getDateString(ldapValue);
          } else if (DATA_TYPE_DATE.equals(dataType)) {
              return getDateObject(ldapValue);
          } else if (DATA_TYPE_INT.equals(dataType)) {
              return Integer.parseInt(ldapValue.toString());
          } else if (DATA_TYPE_IDENTIFIER_TYPE.equals(dataType)) {
              try {
                  String stringValue = (String) ldapValue;
                  LdapEntry ldapEntry = iLdapConn.getEntityByIdentifier(stringValue, null, null, null, null, false, false);
                  return createIdentiferFromLdapEntry(ldapEntry);
              } catch (WIMException we) {
                  if (WIMMessageKey.LDAP_ENTRY_NOT_FOUND.equalsIgnoreCase(we.getMessageKey())) {
                      String msg = Tr.formatMessage(tc, WIMMessageKey.INVALID_PROPERTY_VALUE, WIMMessageHelper.generateMsgParms(propName, entity.getIdentifier().getExternalName()));
                      throw new WIMSystemException(WIMMessageKey.INVALID_PROPERTY_VALUE, msg);
                  } else {
                      throw we;
                  }
              }
          } else if (DATA_TYPE_BASE_64_BINARY.equals(dataType)) {
              return ldapValue;
          } else if (DATA_TYPE_LANG_TYPE.equals(dataType)) {
              LangType lang = new LangType();
              lang.setValue(String.valueOf(ldapValue));
              return lang;
          } else if (DATA_TYPE_BOOLEAN.equals(dataType)) {
              return Boolean.parseBoolean(ldapValue.toString());
          } else if (DATA_TYPE_LONG.equals(dataType)) { //PI05723
              return Long.parseLong(ldapValue.toString());
          } else {
              if (tc.isEventEnabled()) {
                  Tr.event(tc, "Datatype for " + propName + " was null, process without casting");
              }
              return ldapValue;
          }
      }