Changeset 233
- Timestamp:
- 03/18/10 12:50:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/new-datamodel/src/model/datamodel.lisp ¶
r232 r233 123 123 124 124 125 ;;TODO: check merge-constructs in add-topic-identifier, add-item-identifier, 125 ;;TODO: check merge-constructs in add-topic-identifier, add-item-identifier 126 ;; (can merge the parent construct and the parent's parent construct), 126 127 ;; add-psi, add-locator 127 128 ;;TODO: all add-<construct> methods hve to add an version info to the129 ;; owner-construct130 128 ;;TODO: finalize add-reifier 131 129 ;;TODO: replace add-to-version-history in VersionedAssociationC with a pseudo … … 2330 2328 (uri (getf args :uri)) 2331 2329 (xtm-id (getf args :xtm-id)) 2332 (identified-construct (getf args :identified-construct))) 2330 (identified-construct (getf args :identified-construct)) 2331 (charvalue (getf args :charvalue)) 2332 (datatype (getf args :datatype)) 2333 (parent-construct (getf args :parent-construct)) 2334 (themes (getf args :themes)) 2335 (variants (getf args :variants)) 2336 (instance-of (getf args :instance-of)) 2337 (reifier-topic (getf args :reifier)) 2338 (item-identifiers (getf args :item-identifiers))) 2333 2339 (let ((construct 2334 2340 (cond … … 2336 2342 (make-pointer class-symbol uri :start-revision start-revision 2337 2343 :xtm-id xtm-id 2338 :identified-construct identified-construct))))) 2339 2344 :identified-construct identified-construct)) 2345 ((CharacteristicC-p class-symbol) 2346 (make-characteristic class-symbol charvalue 2347 :start-revision start-revision 2348 :datatype datatype :themes themes 2349 :instance-of instance-of :variants variants 2350 :parent-construct parent-construct))))) 2351 2352 (when (typep construct 'ReifiableConstructC) 2353 (when reifier-topic 2354 (add-reifier construct reifier-topic :revision start-revision)) 2355 (dolist (ii item-identifiers) 2356 (add-item-identifier construct ii :revision start-revision))) 2340 2357 construct))) 2341 2358
Note: See TracChangeset
for help on using the changeset viewer.