code: public static AcceptStatus fromValue(int value) {
          AcceptStatus status = VALUES.get(value);
          if (status == null) {
              status = new AcceptStatus(value);
              VALUES.put(value, status);
          }
          return status;
      }
docs: Convenience function to get the instance from the int status value.
  
  @param value
  The int status value.
  @return The instance.