6class __declspec(dllexport) EntityParameterizedDataCategorization:
public EntityContainer
9 enum DataCategorie { researchMetadata, measurementSeriesMetadata, quantity, parameter,
UNKNOWN};
10 EntityParameterizedDataCategorization(
ot::UID ID, EntityBase *parent, EntityObserver *obs, ModelState *ms, ClassFactoryHandler* factory,
const std::string &owner);
12 virtual std::string getClassName(
void)
override {
return "EntityParameterizedDataCategorization"; };
13 virtual void addVisualizationNodes()
override;
15 virtual bool considerForPropertyFilter(
void)
override {
return true; };
16 virtual bool considerChildrenForPropertyFilter(
void)
override {
return false; };
18 void CreateProperties(DataCategorie categorie);
19 DataCategorie GetSelectedDataCategorie() {
return _selectedCategory; };
21 static std::string GetStringDataCategorization(EntityParameterizedDataCategorization::DataCategorie category);
25 static const std::string _dataCategorieGroup;
26 static const std::string _defaultCategory ;
27 static const std::string _dataCategorieRMD;
28 static const std::string _dataCategorieMSMD ;
29 static const std::string _dataCategorieParam;
30 static const std::string _dataCategorieQuant;
32 DataCategorie _selectedCategory =
UNKNOWN;
34 virtual void AddStorageData(bsoncxx::builder::basic::document& storage)
override;
35 virtual void readSpecificDataFromDataBase(bsoncxx::document::view& doc_view, std::map<ot::UID, EntityBase *> &entityMap)
override;
36 virtual int getSchemaVersion() {
return 1; };
38 static std::map<std::string, DataCategorie> _stringDataCategorieMapping;
39 static std::map<DataCategorie, std::string> _dataCategorieStringMapping;
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27
@ UNKNOWN
Definition Connector.h:9