Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21363/src/org/tm4j/topicmap/tmdm/tm4j1
Modified Files:
TopicMapImpl.java
Log Message:
Make more clear that some invocations of TopicMapImpl.createAssocation() are not yet implemented.
Index: TopicMapImpl.java
===================================================================
RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1/TopicMapImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** TopicMapImpl.java 22 Jan 2008 21:13:02 -0000 1.8
--- TopicMapImpl.java 22 Jan 2008 21:15:12 -0000 1.9
***************
*** 382,385 ****
--- 382,388 ----
*/
public Association createAssociation(String id, org.tm4j.net.Locator resourceLocator,Topic type, Topic[] themes) throws DuplicateObjectIDException, DuplicateResourceLocatorException,PropertyVetoException {
+ assert id==null; // not implemented
+ assert resourceLocator==null; // not implemented
+
return unmergedToExternal(getRepresentedObject().createAssociation(type!=null?(((TopicImpl) type).getRepresentedObject()):getInternalNullAssociationTypeTopic(),convertToInternalScope(themes)));
}
|