}
}
private static void createLicenses(IPersistenceManager persistenceManager, W3CWidget model, IWidget widget){
for(ILicenseEntity licenseModel: model.getLicensesList()){
ILicense license = persistenceManager.newInstance(ILicense.class);
license.setText(licenseModel.getLicenseText());
license.setHref(licenseModel.getHref());
license.setLang(licenseModel.getLang());
license.setDir(licenseModel.getDir());
widget.getLicenses().add(license);
}
}