|
From: <ki...@us...> - 2003-01-31 18:04:35
|
Update of /cvsroot/pymerase/pymerase/output
In directory sc8-pr-cvs1:/tmp/cvs-serv32614
Modified Files:
CreateReport.py
Log Message:
Provides more output, Getter/Setter Names, etc.
Index: CreateReport.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/output/CreateReport.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CreateReport.py 11 Dec 2002 17:47:32 -0000 1.1
--- CreateReport.py 31 Jan 2003 18:04:30 -0000 1.2
***************
*** 69,72 ****
--- 69,75 ----
text.append(" Name = %s" % (attribute.getName(TRANSLATOR_NAME)))
text.append(" Type = %s" % (type))
+ text.append(" GetterName = %s" % (attribute.getGetterName(TRANSLATOR_NAME)))
+ text.append(" SetterName = %s" % (attribute.getSetterName(TRANSLATOR_NAME)))
+ text.append(" AppenderName = %s" % (attribute.getAppenderName(TRANSLATOR_NAME)))
text.append(" isRequired = %s" % (attribute.isRequired()))
text.append(" isUnique = %s" % (attribute.isUnique()))
***************
*** 76,80 ****
for assocEnd in tbl.getAssociationEnds().values():
text.append(" ASSOC END:")
! text.append(" Name = %s" % (assocEnd.getAttributeName(TRANSLATOR_NAME)))
text.append(" Multiplicity = %s" % (assocEnd.getMultiplicity()))
text.append(" isNavigable = %s" % (assocEnd.isNavigable()))
--- 79,87 ----
for assocEnd in tbl.getAssociationEnds().values():
text.append(" ASSOC END:")
! text.append(" Name = %s" % (assocEnd.getName(TRANSLATOR_NAME)))
! text.append(" AttribName = %s" % (assocEnd.getAttributeName(TRANSLATOR_NAME)))
! text.append(" GetterName = %s" % (assocEnd.getGetterName(TRANSLATOR_NAME)))
! text.append(" SetterName = %s" % (assocEnd.getSetterName(TRANSLATOR_NAME)))
! text.append(" AppenderName = %s" % (assocEnd.getAppenderName(TRANSLATOR_NAME)))
text.append(" Multiplicity = %s" % (assocEnd.getMultiplicity()))
text.append(" isNavigable = %s" % (assocEnd.isNavigable()))
|