class NetworkAddressEntityDataMapper {

  public NetworkAddressEntity transformInverse(NetworkAddress networkAddress) {
    if (networkAddress == null) {
      return null;
    }

    return NetworkAddressEntity.builder()
        .ip(networkAddress.ip())
        .port(networkAddress.port())
        .build();
  }

  @Inject public  NetworkAddressEntityDataMapper();

}