code: public static DataLinkType valueOf(short value) {
          for (Map.Entry<DataLinkType, Short> entry : registry.entrySet()) {
              if (entry.getValue() == value) {
                  return entry.getKey();
              }
          }
          return new DataLinkType((short) -1, "Unknown");
      }
docs: Get datalink type from value.
  @param value value.
  @return returns datalink type.