return event;
} else if (elementName.equals("compartmentType")
&& list.getSBaseListType().equals(
ListOf.Type.listOfCompartmentTypes)
&& (model.getLevel() == 2 && model.getVersion() > 1)) {
CompartmentType compartmentType = (CompartmentType) newContextObject;
model.addCompartmentType(compartmentType);
return compartmentType;
} else if (elementName.equals("speciesType")
&& list.getSBaseListType().equals(