public static Class getClassOfOpenEngSBModel(String clazz,
String version,
OsgiUtilsService serviceFinder) throws ClassNotFoundException {
ModelRegistry registry = serviceFinder.getService(ModelRegistry.class);
ModelDescription modelDescription = new ModelDescription(clazz, version);
Class clazzObject = registry.loadModel(modelDescription);
return clazzObject;
}
/**
* Returns a Calendarobject to a given dateString in the Format 'DATEFORMAT'.