-
Oh, this was a mistake, the attached file should not be empty. This is the contained code:
TopicMapSystem topicMapSystem = TopicMapSystemFactory.newInstance() .newTopicMapSystem();
TopicMap topicMapA = topicMapSystem.createTopicMap("http://a");
TopicMap topicMapB = topicMapSystem.createTopicMap("http://b");
Topic typeA = topicMapA.createTopic();...
2010-01-07 08:25:32 UTC by https://www.google.com/accounts
-
I am confused.
* The attached file does not do anything, it just declares a main function
* Topics from different topic maps cannot be merged. As tinyTiM says correctly: It's a model constraint violation since "All constructs must belong to the same topic map".
* TopicMap.mergeIn(otherTopicMap) should work
Maybe you can provide more details? Are you trying to do the following:
topicA =...
2010-01-06 18:19:42 UTC by lheuer
-
if two topic maps are merge on demand by calling the method Topic.mergeIn, it fails if there are an association type in both topic maps with a merged type ( the same type ). tinyTim throws an ModelConstraint Exception:
Exception in thread "main" org.tmapi.core.ModelConstraintException: All constructs must belong to the same topic map
at...
2010-01-06 16:15:00 UTC by nobody
-
I just realised that equals() compare two object using "this == obj" and does not compare the Ids of the constructs (Ontopia does it, though). Is this done by intention? If not, could this be fixed, please?
Uta (Topic Maps Lab)
2009-11-10 14:30:10 UTC by nobody
-
lheuer committed revision 361 to the tinyTiM - The tiny Topic Maps engine SVN repository, changing 6 files.
2009-11-04 18:29:23 UTC by lheuer
-
lheuer committed revision 360 to the tinyTiM - The tiny Topic Maps engine SVN repository, changing 18 files.
2009-11-04 16:58:30 UTC by lheuer
-
lheuer committed revision 359 to the tinyTiM - The tiny Topic Maps engine SVN repository, changing 9 files.
2009-10-09 11:54:46 UTC by lheuer
-
bosso committed revision 358 to the tinyTiM - The tiny Topic Maps engine SVN repository, changing 1 files.
2009-09-28 14:15:42 UTC by bosso
-
lheuer committed revision 357 to the tinyTiM - The tiny Topic Maps engine SVN repository, changing 5 files.
2009-08-27 15:47:32 UTC by lheuer
-
lheuer committed revision 356 to the tinyTiM - The tiny Topic Maps engine SVN repository, changing 32 files.
2009-08-27 13:08:17 UTC by lheuer