return reader;
}
public ModelGroupReader(String modelName) throws GenericEntityConfException {
this.modelName = modelName;
EntityGroupReaderInfo entityGroupReaderInfo = EntityConfigUtil.getEntityGroupReaderInfo(modelName);
if (entityGroupReaderInfo == null) {
throw new GenericEntityConfException("Cound not find an entity-group-reader with the name " + modelName);
}
Iterator resourceElementIter = entityGroupReaderInfo.resourceElements.iterator();