&& list.getSBaseListType().equals(
ListOf.Type.listOfEvents)
&& model.getLevel() > 1) {
Event event = (Event) newContextObject;
model.addEvent(event);
event.initDefaults();
return event;
} else if (elementName.equals("compartmentType")
&& list.getSBaseListType().equals(
ListOf.Type.listOfCompartmentTypes)