docs: public Object cmisValue( PropertyDefinition<?> pdef,
                               Field field ) {
          switch (pdef.getPropertyType()) {
              case STRING:
                  return field.getValueAsString();
              case BOOLEAN:
                  return field.getValueAsBoolean();
              case DECIMAL:
                  return BigDecimal.valueOf(field.getValueAsInt());
              case INTEGER:
                  return field.getValueAsInt();
              case DATETIME:
                  // FIXME
                  return new GregorianCalendar();
              case URI:
                  try {
                      return new URI(field.getValueAsString());
                  } catch (Exception e) {
                  }
                  break;
              case ID:
                  return field.getValueAsUuid();
              case HTML:
                  return field.getValueAsString();
          }
  
          return null;
      }