((ITimed) state).setDueDate(dueDate);
NodeList actionNodes = stateNodeChild.getChildNodes();
for (int l = 0; l < actionNodes.getLength(); l++) {
Node aa = actionNodes.item(l);
if (ACTION_NODE.equals(aa.getNodeName())) {
TimerAction timerAction = new TimerAction(null);
timerAction.setDelegationClassName(getAttribute(aa, CLASS_ATTR));
timerAction.setDelegationConfiguration(getTextContent(aa));
timerAction.setRepeat(getAttribute(stateNodeChild, REPEAT_ATTR));
((ITimed) state).setTimerAction(timerAction);
}
}
}
}