// specified a set of prototype refinements.
if (refinements instanceof CompositeEntity) {
String choiceName = choiceNames[choiceIndex];
Entity template = ((CompositeEntity) refinements)
.getEntity(choiceName);
String templateDescription = template.exportMoML(newName);
moml = "<group>" + templateDescription + "<relation name=\""
+ transition.getName(container)
+ "\"><property name=\"refinementName\" value=\""
+ currentRefinements + "\"/></relation></group>";
} else {