src/main/java/org/odessajavaclub/user/shared/UserIdMapper.java
public UserId asUserId(Long id) {
    if (id == null) {
      return null;
    }
    return new UserId(id);
  }
/**
   * Maps long id value to {@link UserId}.
   *
   * @param id long id value
   * @return {@link UserId}
   */
Maps long id value to  UserId.
@param id long id value
@return  UserId
Maps long id value to UserId . @param id long id value @return UserId
public UserId asUserId(Long id) {
    if (id == null) {
      return null;
    }
    return new UserId(id);
  }
public UserId asUserId ( Long id ) { if ( id == null ) { return null ; } return new UserId ( id ) ; }
Maps long id value to {@link UserId}.
Maps long id value to { @link UserId } .