code: public static String nameFromValue(int type) {
          switch (type) {
              case SIMPLE_REFERENCE:
                  return TYPENAME_SIMPLE_REFERENCE;
              default:
                  return javax.jcr.PropertyType.nameFromValue(type);
          }
      }
docs: Returns the name of the specified <code>type</code>.
  
  @param type the property type
  @return the name of the specified <code>type</code>
  @throws IllegalArgumentException if <code>type</code> is not a valid
  property type.