statePriorityList);
record
.setListField(
StateModelDefinitionProperty.STATE_TRANSITION_PRIORITYLIST
.toString(), transitionPriorityList);
StateTransitionTableBuilder stateTransitionTableBuilder = new StateTransitionTableBuilder();
Map<String, Map<String, String>> transitionTable = stateTransitionTableBuilder
.buildTransitionTable(statePriorityList, new ArrayList<Transition>(
transitionMap.keySet()));
for (String state : transitionTable.keySet())
{
record.setMapField(state + ".next", transitionTable.get(state));