     (mapping [:Validity] :Validity)
     (mapping [:ProductName] :ProductName)
     (mapping [:ProductVersion] :ProductVersion))
-  (add-relation [:managerId :Id]); ?????
-  (add-relation :manager_fk_ServiceId))
+  (add-association [:managerId :Id]); ?????
+  (add-association :manager_fk_ServiceId))
 ;TODO ASSOC MANAGER: MANAGER   (column "managerId" :managerId :notnull) // IS IT NOT RELATION!?
 
 

    (mapping [:Type] :Type)
    (mapping [:QualityLevel] :QualityLevel)
    (mapping [:Complexity] :Complexity))
  (add-relation :service_fk_LocationId)
  (add-relation :service_fk_AdminDomainId))
;TODO ASSOC SERVICE: CONTACT   (table "serviceservice" :serviceservice (column "serviceId2" :serviceId2 :pk :notnull) (column "contactId" :contactId :pk :notnull))
;TODO ASSOC SERVICE: SERVICE (table "serviceservice" :serviceservice (column "serviceId2" :serviceId2 :pk :notnull) (column "serviceId1" :serviceId1 :pk :notnull))


    (mapping [:CreationTime] :CreationTime)
    (mapping [:Validity] :Validity)
    (mapping [:Scheme] :Scheme))
  (add-association :mappingPolicy_fk_ShareId))

(foreach [:accesspolicy]
  (add-instance :AcessPolicy
    (mapping-pk [:Id] :Id))
  (add-association :accessPolicy_fk_EndpointId))
