docs: public static final int jcrPropertyTypeFor( org.modeshape.jcr.value.PropertyType dnaPropertyType ) {
          // Make sure the value is the correct type ...
          switch (dnaPropertyType) {
              case STRING:
                  return PropertyType.STRING;
              case NAME:
                  return PropertyType.NAME;
              case LONG:
                  return PropertyType.LONG;
              case URI:
                  return PropertyType.URI;
              case PATH:
                  return PropertyType.PATH;
              case BOOLEAN:
                  return PropertyType.BOOLEAN;
              case DATE:
                  return PropertyType.DATE;
              case DECIMAL:
                  return PropertyType.DECIMAL;
              case DOUBLE:
                  return PropertyType.DOUBLE;
              case BINARY:
                  return PropertyType.BINARY;
              case OBJECT:
                  return PropertyType.UNDEFINED;
              case REFERENCE:
                  return PropertyType.REFERENCE;
              case WEAKREFERENCE:
                  return PropertyType.WEAKREFERENCE;
              case SIMPLEREFERENCE: {
                  return org.modeshape.jcr.api.PropertyType.SIMPLE_REFERENCE;
              }
          }
          assert false;
          return PropertyType.UNDEFINED;
      }