code: @Override
      public Location translate() {
          if (this.location == null) {
              // In OCPP 1.5, OUTLET is the default value.
              return Location.OUTLET;
          }
  
          switch (this.location) {
              case INLET:
                  return Location.INLET;
              case OUTLET:
                  return Location.OUTLET;
              case BODY:
                  return Location.BODY;
              default:
                  throw new AssertionError(String.format("Unknown value for Location: '%s'", location));
          }
      }
docs: {@inheritDoc}