Interface InputTranslationEngine
public interface InputTranslationEngine
-
Method Summary
Modifier and TypeMethodDescriptiongetExistingIdentity(MappingResult result) booleanvoidmergeWithExisting(MappingResult result, pl.edu.icm.unity.base.entity.EntityParam baseEntity) Merges the information obtained after execution of an input translation profile with a manually specified entity.voidprocess(MappingResult result) Entry point.pl.edu.icm.unity.base.entity.EntityresolveMappedIdentity(MappedIdentity checked)
-
Method Details
-
process
Entry point.- Parameters:
result-- Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-
mergeWithExisting
void mergeWithExisting(MappingResult result, pl.edu.icm.unity.base.entity.EntityParam baseEntity) throws pl.edu.icm.unity.base.exceptions.EngineException Merges the information obtained after execution of an input translation profile with a manually specified entity.- Parameters:
result-baseEntity-- Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-
identitiesNotPresentInDb
- Parameters:
result-- Returns:
- true only if no one of mapped identities is present in db.
-
resolveMappedIdentity
pl.edu.icm.unity.base.entity.Entity resolveMappedIdentity(MappedIdentity checked) throws pl.edu.icm.unity.base.exceptions.EngineException - Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-
getExistingIdentity
-