@Override public void updateEventWithAction(BasicAction basicAction) { switch (eventType) { case REGION_ENTER: OrchextraRegion detectedRegion = (OrchextraRegion) data; detectedRegion.setActionRelatedWithRegionAndGeofences( new ActionRelatedWithRegionAndGeofences( basicAction.getScheduledAction().getId(), basicAction.getScheduledAction().isCancelable())); eventUpdaterDomainService.associateActionToRegionEvent(detectedRegion); case REGION_EXIT: break; default: break; } }