docs: public Object cmisValue( PropertyDefinition<?> pdef,
                               String jcrName,
                               Document document ) {
          switch (pdef.getPropertyType()) {
              case STRING:
                  return document.getString(jcrName);
              case BOOLEAN:
                  return document.getBoolean(jcrName);
              case DECIMAL:
                  return BigDecimal.valueOf(document.getLong(jcrName));
              case INTEGER:
                  return document.getInteger(jcrName);
              case DATETIME:
                  // FIXME
                  return new GregorianCalendar();
              case URI:
                  try {
                      return new URI(document.getString(jcrName));
                  } catch (Exception e) {
                  }
                  break;
              case ID:
                  return document.getString(jcrName);
              case HTML:
                  return document.getString(jcrName);
          }
  
          return null;
      }