* @throws EMFUserError the EMF user error
*/
public static SbiKpiModelInst modifyExistingSbiModelInstance(SbiKpiModelInst exportedModInst, Session sessionCurrDB,
Integer existingId, MetadataAssociations metaAss) throws EMFUserError {
logger.debug("IN");
SbiKpiModelInst existingModInst = null;
try {
// update th Value
existingModInst = (SbiKpiModelInst) sessionCurrDB.load(SbiKpiModelInst.class, existingId);
existingModInst.setDescription(exportedModInst.getDescription());
existingModInst.setEndDate(exportedModInst.getEndDate());
existingModInst.setLabel(exportedModInst.getLabel());
existingModInst.setName(exportedModInst.getName());
existingModInst.setStartDate(exportedModInst.getStartDate());
existingModInst.setModelUUID(exportedModInst.getModelUUID());
// associations
entitiesAssociationsSbiModelInstance(exportedModInst, existingModInst, sessionCurrDB, metaAss);
}