From: Xuan B. <med...@us...> - 2008-01-22 19:06:34
|
Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv842/src/org/tm4j/topicmap/tmdm Modified Files: ReadableOccurrence.java ReadableReifiable.java ReadableTopic.java ReadableTopicName.java TopicName.java Log Message: Some cleanups. (upon a suggestion during a code-review by Benjamin Bock <bb-...@bo...>) Index: ReadableTopicName.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/ReadableTopicName.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ReadableTopicName.java 21 Jan 2008 19:28:03 -0000 1.3 --- ReadableTopicName.java 22 Jan 2008 19:06:31 -0000 1.4 *************** *** 25,35 **** public ReadableTopic getParent(); - /* - @TMDM - public Variant createVariant(Locator datatype,String value); - - @TMDM - public Set<? extends Variant> getVariants(); - */ } --- 25,28 ---- Index: ReadableOccurrence.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/ReadableOccurrence.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ReadableOccurrence.java 21 Jan 2008 20:00:25 -0000 1.2 --- ReadableOccurrence.java 22 Jan 2008 19:06:31 -0000 1.3 *************** *** 13,17 **** @TMDM @TMAPI ! public Topic getType(); @TMDM --- 13,17 ---- @TMDM @TMAPI ! public ReadableTopic getType(); @TMDM Index: TopicName.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/TopicName.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TopicName.java 21 Jan 2008 19:21:15 -0000 1.2 --- TopicName.java 22 Jan 2008 19:06:31 -0000 1.3 *************** *** 35,39 **** /* @TMDM ! public Variant createVariant(Locator datatype,String value); @TMDM --- 35,39 ---- /* @TMDM ! public Variant createVariant(String value,Locator datatype,Collection<Topic> scope); // Should we use "Collection<Topic> scope" or should we use "Scope scope"? @TMDM Index: ReadableReifiable.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/ReadableReifiable.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ReadableReifiable.java 21 Jan 2008 20:34:12 -0000 1.2 --- ReadableReifiable.java 22 Jan 2008 19:06:31 -0000 1.3 *************** *** 13,17 **** @TMDM @TMAPI ! public Topic getReifier(); } --- 13,17 ---- @TMDM @TMAPI ! public ReadableTopic getReifier(); } Index: ReadableTopic.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/ReadableTopic.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ReadableTopic.java 21 Jan 2008 11:13:44 -0000 1.1 --- ReadableTopic.java 22 Jan 2008 19:06:31 -0000 1.2 *************** *** 35,39 **** */ @TMDM ! public Reifiable getReified(); } --- 35,39 ---- */ @TMDM ! public ReadableReifiable getReified(); } |