[Uml-devel] kdesdk/umbrello/umbrello/codegenerators

Brian Thomas thomas at mail630.gsfc.nasa.gov
Tue Apr 13 13:11:09 UTC 2004


CVS commit by thomas: 

bug fix: java code generation what no properly converting the names of the datatypes to java standards (e.g. 'string' -> 'String'). Fixed


  M +4 -0      javacodeclassfield.cpp   1.8
  M +1 -0      javacodeclassfield.h   1.3


--- kdesdk/umbrello/umbrello/codegenerators/javacodeclassfield.h  #1.2:1.3
@@ -49,4 +49,5 @@ public:
         QString getInitialValue();
 
+        QString getTypeName ( );
 protected:
 

--- kdesdk/umbrello/umbrello/codegenerators/javacodeclassfield.cpp  #1.7:1.8
@@ -101,4 +101,8 @@ QString JavaCodeClassField::getInitialVa
 }
 
+QString JavaCodeClassField::getTypeName ( ) 
+{
+        return fixTypeName(CodeClassField::getTypeName());
+}
 
 #include "javacodeclassfield.moc"






More information about the umbrello-devel mailing list