- labels: 649876 -->
- milestone: 412634 -->
- assigned_to: holgerlausen --> nobody
Anonymous Identfier can be used to create objects where
the modeller does not care to give it a name, by the
price that he can no reference it anymore.
In WSMO4J this is done by creating seperate Anonymous
ID objects for each occurenes (idenfied by their java
object id). This behaves perfectly fine with respect to
.equals(Object) as long as a model is only in memory.
If a model is serialized and parsed again an anonymous
ID can not be related anymore to its previous loaded
object (which at present is cached by the
factory-resulting in lots of "dead references" still in
a model. This problem can be solved by the introduction
by workspaces/models/documents.
This feature request is about providing a way to
deterministcly compare two document containing e.g.
exactly one anonymous axiom. They would in the current
approach be loaded and have assigned to different
anonymousIDs and thus not compare equal. When
intruducing a number as ID instead of the java object
identifier this can be fixed. (But makes only sense
AFTER a workspaces/model/documents concept has been
integrated.