[isidorus-cvs] r511 - branches/gdl-frontend/src/anaToMia/GDL_TopicMaps_Model/src/us/isidor/gdl/anaToMia/TopicMaps/TopicMapsModel

lgiessmann at common-lisp.net lgiessmann at common-lisp.net
Mon Jun 27 11:47:25 UTC 2011


Author: lgiessmann
Date: Mon Jun 27 04:47:25 2011
New Revision: 511

Log:
gdl-frontend: Topic Maps Model: fixed a bug in Topic.createName(String value, JsArray<Topic> scope) => all methods must be final of classes inheriting JavaScriptObject + no instance members are allowed

Modified:
   branches/gdl-frontend/src/anaToMia/GDL_TopicMaps_Model/src/us/isidor/gdl/anaToMia/TopicMaps/TopicMapsModel/Topic.java

Modified: branches/gdl-frontend/src/anaToMia/GDL_TopicMaps_Model/src/us/isidor/gdl/anaToMia/TopicMaps/TopicMapsModel/Topic.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_TopicMaps_Model/src/us/isidor/gdl/anaToMia/TopicMaps/TopicMapsModel/Topic.java	Mon Jun 27 04:38:29 2011	(r510)
+++ branches/gdl-frontend/src/anaToMia/GDL_TopicMaps_Model/src/us/isidor/gdl/anaToMia/TopicMaps/TopicMapsModel/Topic.java	Mon Jun 27 04:47:25 2011	(r511)
@@ -5,7 +5,7 @@
 
 
 public class Topic extends JavaScriptObject implements Construct{
-	private final String defaultNameTypePsi = "http://psi.topicmaps.org/iso13250/model/topic-name";
+	private static String defaultNameTypePsi = "http://psi.topicmaps.org/iso13250/model/topic-name";
 	
 	
 	protected Topic() {}
@@ -26,7 +26,7 @@
 	}-*/;
 	
 	
-	public Name createName(String value, JsArray<Topic> scope){
+	public final Name createName(String value, JsArray<Topic> scope){
 		TopicMap tm = this.getTopicMap(); 
 		Topic defaultNameType = tm.createTopicBySubjectIdentifier(tm.createLocator(defaultNameTypePsi));
 		return this.createName(value, defaultNameType, scope);




More information about the Isidorus-cvs mailing list