return ui;
}
public ProductGroup toPersistenceBean(ProductGroupUI ui) {
ProductGroup group = null;
if (ui != null) {
group = new ProductGroup();
group.setCreateadBy(ui.getCreateadBy());
group.setCreatedDate(ui.getCreatedDate());
group.setDescription(ui.getDescription());
group.setId(ui.getId());
group.setModifiedBy(ui.getModifiedBy());
group.setModifiedDate(ui.getModifiedDate());
group.setGroupName(ui.getGroupName());
}
return group;
}