From: Xuan B. <med...@us...> - 2008-01-22 20:26:47
|
Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1 In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2338/src/org/tm4j/topicmap/tmdm/tm4j1 Modified Files: TopicMapImpl.java Log Message: Implement TopicMapImpl.getProperty() a little bit. Index: TopicMapImpl.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1/TopicMapImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TopicMapImpl.java 22 Jan 2008 20:22:04 -0000 1.4 --- TopicMapImpl.java 22 Jan 2008 20:26:50 -0000 1.5 *************** *** 6,9 **** --- 6,10 ---- import java.util.Iterator; import java.util.Collections; + import java.util.HashMap; import java.beans.PropertyVetoException; *************** *** 56,59 **** --- 57,66 ---- protected org.tm4j.topicmap.tmdm.Topic nullAssociationType; + protected static HashMap<String,Boolean> defaultProperties = new HashMap<String,Boolean>(); + + static { + defaultProperties.put(TopicMapProvider.OPT_STATIC_MERGE,false); + } + /** *************** *** 829,833 **** */ public Boolean getProperty(String propertyName) { ! throw new UnsupportedOperationException(); } --- 836,840 ---- */ public Boolean getProperty(String propertyName) { ! return defaultProperties.get(propertyName); } |