Go to the documentation of this file.00001
00002
00003
00004
00005 #ifndef _ENTITY_TYPES_HPP_
00006 #define _ENTITY_TYPES_HPP_
00007
00008 #include <string>
00009 #include <map>
00010
00012 typedef struct
00013 {
00014 std::string adaptorName;
00015 bool multivalued;
00016 std::string type;
00017 } ENTITY_ATTR_MAP_TYPE;
00018
00019 typedef struct
00020 {
00021 std::string primaryKey;
00022 std::string secondaryKey;
00023 bool reverseLookup;
00024 bool directLookup;
00025 std::string entityLdapName;
00026 } ENTITY_RELATIONSHIP_TYPE;
00027
00028 typedef struct
00029 {
00030 std::string adaptorName;
00031 std::map<std::string, ENTITY_ATTR_MAP_TYPE> attrs;
00032 std::multimap<std::string, ENTITY_RELATIONSHIP_TYPE> relatedEntities;
00033 } ENTITY_ATTR_TYPE;
00035
00036 #endif
00037