[Uml-devel] kdesdk/umbrello/umbrello/codegenerators
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Sep 19 10:58:02 UTC 2004
CVS commit by okellogg:
UMLDoc::findUMLObject(id) is renamed to findObjectById().
M +3 -3 php5writer.cpp 1.2
--- kdesdk/umbrello/umbrello/codegenerators/php5writer.cpp #1.1:1.2
@@ -122,5 +122,5 @@ void Php5Writer::writeClass(UMLClassifie
int rc = realizations.count();
for (a = realizations.first(); a; a = realizations.next()) {
- UMLObject *o = m_doc->findUMLObject(a->getRoleId(Uml::B));
+ UMLObject *o = m_doc->findObjectById(a->getRoleId(Uml::B));
QString typeName = cleanName(o->getName());
php << m_newLineEndingChars << m_indentation << m_indentation << m_indentation << "implements " << typeName << (--rc == 0 ? "" : ",");
@@ -138,5 +138,5 @@ void Php5Writer::writeClass(UMLClassifie
//which container to use.
Uml::IDType id = a->getRoleId(Uml::A);
- UMLObject *o = m_doc->findUMLObject(id);
+ UMLObject *o = m_doc->findObjectById(id);
if (o == NULL) {
kdError() << "Cannot find aggregation role A object with ID "
@@ -158,5 +158,5 @@ void Php5Writer::writeClass(UMLClassifie
// see comment on Aggregation about multiplicity...
Uml::IDType id = a->getRoleId(Uml::A);
- UMLObject *o = m_doc->findUMLObject(id);
+ UMLObject *o = m_doc->findObjectById(id);
if (o == NULL) {
kdError() << "Cannot find composition role A object with ID "
More information about the umbrello-devel
mailing list