convertObjectMapToObjectIdOrLeaveReference static method
Implementation
static Object convertObjectMapToObjectIdOrLeaveReference(Map objectMap) {
if (objectMap.containsKey(UnitOfWork.REFERENCE_MARKER)) {
objectMap[UnitOfWork.PROP_NAME] = "objectId";
return objectMap;
}
return objectMap['objectId'];
}