@Test public void testTimerInstanceSummaryNull() { assertNull(new TimerInstanceSummaryMapper().apply(null)); }
@Override public TimerInstanceSummary apply(TimerInstance timerInstance) { if (timerInstance == null) { return null; } TimerInstanceSummary summary = new TimerInstanceSummary(); summary.setId(timerInstance.getId()); summary.setTimerId(timerInstance.getTimerId()); summary.setName(timerInstance.getTimerName()); summary.setProcessInstanceId(timerInstance.getProcessInstanceId()); summary.setActivationTime(timerInstance.getActivationTime()); summary.setDelay(timerInstance.getDelay()); summary.setLastFireTime(timerInstance.getLastFireTime()); summary.setNextFireTime(timerInstance.getNextFireTime()); summary.setPeriod(timerInstance.getPeriod()); summary.setRepeatLimit(timerInstance.getRepeatLimit()); return summary; }
TimerInstanceSummaryMapper implements Function<TimerInstance, TimerInstanceSummary> { @Override public TimerInstanceSummary apply(TimerInstance timerInstance) { if (timerInstance == null) { return null; } TimerInstanceSummary summary = new TimerInstanceSummary(); summary.setId(timerInstance.getId()); summary.setTimerId(timerInstance.getTimerId()); summary.setName(timerInstance.getTimerName()); summary.setProcessInstanceId(timerInstance.getProcessInstanceId()); summary.setActivationTime(timerInstance.getActivationTime()); summary.setDelay(timerInstance.getDelay()); summary.setLastFireTime(timerInstance.getLastFireTime()); summary.setNextFireTime(timerInstance.getNextFireTime()); summary.setPeriod(timerInstance.getPeriod()); summary.setRepeatLimit(timerInstance.getRepeatLimit()); return summary; } }
TimerInstanceSummaryMapper implements Function<TimerInstance, TimerInstanceSummary> { @Override public TimerInstanceSummary apply(TimerInstance timerInstance) { if (timerInstance == null) { return null; } TimerInstanceSummary summary = new TimerInstanceSummary(); summary.setId(timerInstance.getId()); summary.setTimerId(timerInstance.getTimerId()); summary.setName(timerInstance.getTimerName()); summary.setProcessInstanceId(timerInstance.getProcessInstanceId()); summary.setActivationTime(timerInstance.getActivationTime()); summary.setDelay(timerInstance.getDelay()); summary.setLastFireTime(timerInstance.getLastFireTime()); summary.setNextFireTime(timerInstance.getNextFireTime()); summary.setPeriod(timerInstance.getPeriod()); summary.setRepeatLimit(timerInstance.getRepeatLimit()); return summary; }  }
TimerInstanceSummaryMapper implements Function<TimerInstance, TimerInstanceSummary> { @Override public TimerInstanceSummary apply(TimerInstance timerInstance) { if (timerInstance == null) { return null; } TimerInstanceSummary summary = new TimerInstanceSummary(); summary.setId(timerInstance.getId()); summary.setTimerId(timerInstance.getTimerId()); summary.setName(timerInstance.getTimerName()); summary.setProcessInstanceId(timerInstance.getProcessInstanceId()); summary.setActivationTime(timerInstance.getActivationTime()); summary.setDelay(timerInstance.getDelay()); summary.setLastFireTime(timerInstance.getLastFireTime()); summary.setNextFireTime(timerInstance.getNextFireTime()); summary.setPeriod(timerInstance.getPeriod()); summary.setRepeatLimit(timerInstance.getRepeatLimit()); return summary; }  @Override TimerInstanceSummary apply(TimerInstance timerInstance); }
TimerInstanceSummaryMapper implements Function<TimerInstance, TimerInstanceSummary> { @Override public TimerInstanceSummary apply(TimerInstance timerInstance) { if (timerInstance == null) { return null; } TimerInstanceSummary summary = new TimerInstanceSummary(); summary.setId(timerInstance.getId()); summary.setTimerId(timerInstance.getTimerId()); summary.setName(timerInstance.getTimerName()); summary.setProcessInstanceId(timerInstance.getProcessInstanceId()); summary.setActivationTime(timerInstance.getActivationTime()); summary.setDelay(timerInstance.getDelay()); summary.setLastFireTime(timerInstance.getLastFireTime()); summary.setNextFireTime(timerInstance.getNextFireTime()); summary.setPeriod(timerInstance.getPeriod()); summary.setRepeatLimit(timerInstance.getRepeatLimit()); return summary; }  @Override TimerInstanceSummary apply(TimerInstance timerInstance);  }