-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathEntity.h
43 lines (36 loc) · 985 Bytes
/
Entity.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Entity.h
* Author: cancian
*
* Created on 21 de Junho de 2018, 16:30
*/
#ifndef ENTITY_H
#define ENTITY_H
#include <string>
#include <map>
#include "Util.h"
#include "ModelInfrastructure.h"
#include "AttributeValue.h"
class Entity: public ModelInfrastructure {
public:
Entity();
Entity(const Entity& orig);
virtual ~Entity();
public:
virtual std::string show();
public: // g & s
std::map<std::string, AttributeValue*>* getAttributeValues() const;
void setEntityTypeName(std::string _entityTypeName); // indirect access to EntityType
std::string getEntityTypeName() const;
private:
//EntityType* _entityType;
std::string _entityTypeName = "Entity Type 1";
private: // 1::n
std::map<std::string, AttributeValue*>* _attributeValues;
};
#endif /* ENTITY_H */