code: public DbLicense getDbLicense(final License license) {
          final DbLicense dbLicense = new DbLicense();
          dbLicense.setName(license.getName());
          dbLicense.setLongName(license.getLongName());
          dbLicense.setComments(license.getComments());
          dbLicense.setRegexp(license.getRegexp());
          dbLicense.setUrl(license.getUrl());
  
          return dbLicense;
      }
docs: Transform a license from client/server model to database model
  
  @param license the license to transform
  @return DbLicense return a license in database model