* @throws EMFUserError the EMF user error
*/
public static SbiKpiPeriodicity modifyExistingSbiPeriodicity(SbiKpiPeriodicity exportedPer, Session sessionCurrDB,
Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws EMFUserError {
logger.debug("IN");
SbiKpiPeriodicity existingPer = null;
try {
// update th Value
existingPer = (SbiKpiPeriodicity) sessionCurrDB.load(SbiKpiPeriodicity.class, existingId);
existingPer.setName(exportedPer.getName());
existingPer.setChronString(exportedPer.getChronString());
existingPer.setDays(exportedPer.getDays());
existingPer.setHours(exportedPer.getHours());
existingPer.setMonths(exportedPer.getMonths());
existingPer.setMinutes(exportedPer.getMinutes());
// associations
entitiesAssociationsSbiPeriodicity(exportedPer, existingPer, sessionCurrDB, metaAss, importer);
}